summaryrefslogtreecommitdiff
path: root/include/configs/seaboard.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-06-13 10:53:45 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:39:25 -0700
commit8d9a115abe319dc6dea9f8c7225b23b357120363 (patch)
tree739f59e2cbca8c9c072485562429e7721441fbc9 /include/configs/seaboard.h
parent5c2fff9cbcee866dcf0ec4530cc4e0a8bef87c37 (diff)
config: tegra2: Tidy up USB FDT implementation to rely only on FDT
The FDT implementation was still using CONFIG_TEGRA2_USB0 - this has now been removed. BUG=chromium-os:11623 TEST=usb start; run usb_boot Change-Id: If21e59cdf4fdabdcce951bb5968f3a20d06a9689 Reviewed-on: http://gerrit.chromium.org/gerrit/2539 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'include/configs/seaboard.h')
-rw-r--r--include/configs/seaboard.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 0ae772379c0..26df37225d2 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -48,6 +48,15 @@
/* On Seaboard: GPIO_PI3 = Port I = 8, bit = 3 */
#define UART_DISABLE_GPIO GPIO_PI3
+
+/* 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
#define CONFIG_TEGRA2_KEYBOARD
@@ -109,15 +118,6 @@
#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
#define CONFIG_ENV_OFFSET (SZ_4M - CONFIG_ENV_SECT_SIZE)
-/* 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
-
/* Keyboard scan matrix configuration */
#define CONFIG_TEGRA2_KBC_PLAIN_KEYCODES { \
0, 0, 'w', 's', 'a', 'z', 0, KEY_FN, \