summaryrefslogtreecommitdiff
path: root/include/configs/seaboard.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-04-28 10:11:00 -0700
committerSimon Glass <sjg@chromium.org>2011-08-24 09:54:52 -0700
commit893172f218c203f9fcf7210229167b4f168df44a (patch)
treeeda4c428ad3e7fc9eb1da84d3b1ce52087fab90e /include/configs/seaboard.h
parent696ba76e40fefcc58848b5e86575915927840c6a (diff)
Tegra2: Add USB support
This adds basic USB support for port 0. The other port is not supported by this CL. BUG=chromium-os:13875 TEST=Put USB stick in side port. Then: Tegra2 (SeaBoard) # ext2load usb 0:3 10000000 /boot/vmlinuz Loading file "/boot/vmlinuz" from usb device 0:3 (gpt3) 2745808 bytes read Tegra2 (SeaBoard) # Change-Id: I10f9228377ee7ed7817bb30bf665d69c5e74f239 Review URL: http://codereview.chromium.org/6896012
Diffstat (limited to 'include/configs/seaboard.h')
-rw-r--r--include/configs/seaboard.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 27c8ae1d37..76ffd9578a 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -43,4 +43,14 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_TEGRA2_GPIO
#define CONFIG_CMD_TEGRA2_GPIO_INFO
+
+/* To select the order in which U-Boot sees USB ports */
+#define CONFIG_TEGRA2_USB0 NV_PA_USB3_BASE
+#define CONFIG_TEGRA2_USB1 NV_PA_USB1_BASE
+#define CONFIG_TEGRA2_USB2 0
+#define CONFIG_TEGRA2_USB3 0
+
+/* Put USB1 in host mode */
+#define CONFIG_TEGRA2_USB1_HOST
+
#endif /* __CONFIG_H */