[U-Boot] [PATCH] ARM: omap3: temporary disable USB on TAM3517 boards

Stefano Babic sbabic at denx.de
Mon Jan 16 09:53:28 CET 2012


The TAM3517 boards require a patch for EHCI OMAP
that does not yet find a way to mainline. The patch
disables temporary USB until EHCI OMAP will be supported.

Signed-off-by: Stefano Babic <sbabic at denx.de>
Cc: Tom Rini <tom.rini at gmail.com>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
---
 include/configs/tam3517-common.h |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 817d468..081dbc8 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -97,12 +97,16 @@
 #define CONFIG_DOS_PARTITION
 
 /* EHCI */
+#undef CONFIG_CMD_USB
+#ifdef CONFIG_CMD_USB
 #define CONFIG_OMAP3_GPIO_5
 #define CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_OMAP
-#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	25
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
 #define CONFIG_USB_STORAGE
+#endif
+
+#define CONFIG_OMAP_EHCI_PHY1_RESET_GPIO	25
 
 /* #define CONFIG_EHCI_DCACHE */
 
@@ -121,7 +125,6 @@
 #define CONFIG_CMD_NFS
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_PING
-#define CONFIG_CMD_USB
 
 #undef CONFIG_CMD_FLASH		/* only NAND on the SOM */
 #undef CONFIG_CMD_IMLS
-- 
1.7.5.4



More information about the U-Boot mailing list