[U-Boot] mx6ulevk: Add support for SDP boot in SPL target
diff mbox series

Message ID 1563460986-345-1-git-send-email-breno.lima@nxp.com
State New
Delegated to: Stefano Babic
Headers show
Series
  • [U-Boot] mx6ulevk: Add support for SDP boot in SPL target
Related show

Commit Message

Breno Matheus Lima July 18, 2019, 2:43 p.m. UTC
Currently it's not possible to boot mx6ulevk board using
imx_usb_loader tool:

U-Boot SPL 2018.03 (Jul 18 2019 - 10:05:17 -0300)
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices

Enable necessary configuration in defconfig file.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
---
 configs/mx6ul_14x14_evk_defconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Fabio Estevam July 18, 2019, 4:58 p.m. UTC | #1
On Thu, Jul 18, 2019 at 11:43 AM Breno Matheus Lima <breno.lima@nxp.com> wrote:
>
> Currently it's not possible to boot mx6ulevk board using
> imx_usb_loader tool:
>
> U-Boot SPL 2018.03 (Jul 18 2019 - 10:05:17 -0300)
> SPL: Unsupported Boot Device!
> SPL: failed to boot from all boot devices
>
> Enable necessary configuration in defconfig file.
>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

Patch
diff mbox series

diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig
index 1d777b5fb2..4d12a7cb16 100644
--- a/configs/mx6ul_14x14_evk_defconfig
+++ b/configs/mx6ul_14x14_evk_defconfig
@@ -19,9 +19,13 @@  CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_TEXT_BASE=0x00908000
 CONFIG_SPL_FS_EXT4=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_USB_GADGET=y
+CONFIG_SPL_USB_SDP_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_SPL=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
@@ -67,4 +71,9 @@  CONFIG_FSL_QSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="FSL"
+CONFIG_USB_GADGET_VENDOR_NUM=0x0525
+CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
+CONFIG_CI_UDC=y
 CONFIG_VIDEO=y