[U-Boot] [PATCH RFC 1/4] configs: am43xx: enabled USB support for U-boot

Mugunthan V N mugunthanvnm at ti.com
Mon Jan 4 15:03:50 CET 2016


Currently USB is enabled only when boot from USB host mode.
Enable USB for U-boot so that Kernel/U-boot binaries can be
loaded from USB for update or booting.

Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
---
 include/configs/am43xx_evm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index aac550a..31b3432 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -103,7 +103,8 @@
 #define CONFIG_SPL_LDSCRIPT		"$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 /* SPL USB Support */
-#ifdef CONFIG_SPL_USB_HOST_SUPPORT
+#if !defined(CONFIG_SPL_BUILD) || \
+	defined(CONFIG_SPL_USB_HOST_SUPPORT)
 #define CONFIG_SPL_USB_SUPPORT
 #define CONFIG_SYS_USB_FAT_BOOT_PARTITION		1
 
-- 
2.7.0.rc3



More information about the U-Boot mailing list