[U-Boot] [PATCH 13/14] tegra: usb: Enable USB on Seaboard

Simon Glass sjg at chromium.org
Thu Nov 24 04:54:55 CET 2011


Seaboard has a top port which is USB host or device, and a side port which
is host only.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
 include/configs/seaboard.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 261f952..df1b44a 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -72,4 +72,18 @@
 
 #define CONFIG_ENV_SECT_SIZE    CONFIG_ENV_SIZE
 #define CONFIG_ENV_OFFSET       (CONFIG_SPI_FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
+
+/* USB Host support */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_TEGRA
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
+/* Select the order in which U-Boot sees USB ports */
+#define CONFIG_TEGRA_USB0	TEGRA_USB3_BASE
+#define CONFIG_TEGRA_USB1	TEGRA_USB1_BASE
+
+/* Put USB1 in host mode */
+#define CONFIG_TEGRA_USB1_HOST
+
 #endif /* __CONFIG_H */
-- 
1.7.3.1



More information about the U-Boot mailing list