Commit cc1c95f4145f94c7cc3b71405faa69a7fd9547b3

Authored by Mugunthan V N
Committed by Lokesh Vutla
1 parent 5e31eb59f0

include: configs: am43xx: enable USB commands for non usb boot also

With commit aee119bd70b8 ('am43xx_evm: add usb host boot support') usb
commands is removed from U-boot second stage and enbaled only on USB
boot config. Fixing this by enable USB commands for both USB boot and
in second stage u-boot.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

include/configs/am43xx_evm.h
... ... @@ -105,8 +105,10 @@
105 105 /* SPL USB Support */
106 106 #ifdef CONFIG_SPL_USB_HOST_SUPPORT
107 107 #define CONFIG_SPL_USB_SUPPORT
108   -#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
  108 +#endif
109 109  
  110 +#if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD)
  111 +#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
110 112 #define CONFIG_CMD_USB
111 113 #define CONFIG_USB_HOST
112 114 #define CONFIG_USB_XHCI