summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2016-03-09 15:39:34 +0530
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:17 -0400
commit592bc5e2696b681715f9a937d7ca0949d613f816 (patch)
treeb95ebe2dc9f3b4758793f866fd3370847bc1e098 /include/configs
parente77faeb7977a802905ec3a93781296ae1539fa85 (diff)
downloadu-boot-imx-592bc5e2696b681715f9a937d7ca0949d613f816.zip
u-boot-imx-592bc5e2696b681715f9a937d7ca0949d613f816.tar.gz
u-boot-imx-592bc5e2696b681715f9a937d7ca0949d613f816.tar.bz2
am43xx: configs: 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> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am43xx_evm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 1428aa9..0a96bd3 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -105,8 +105,10 @@
/* SPL USB Support */
#ifdef CONFIG_SPL_USB_HOST_SUPPORT
#define CONFIG_SPL_USB_SUPPORT
-#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
+#endif
+#if defined(CONFIG_SPL_USB_HOST_SUPPORT) || !defined(CONFIG_SPL_BUILD)
+#define CONFIG_SYS_USB_FAT_BOOT_PARTITION 1
#define CONFIG_CMD_USB
#define CONFIG_USB_HOST
#define CONFIG_USB_XHCI