[U-Boot] [PATCH 6/6] tegra: Enable NAND on Seaboard
Simon Glass
sjg at chromium.org
Sat Jan 14 00:10:56 CET 2012
This enables NAND support for the Seaboard.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
include/configs/seaboard.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 7b6f92a..b31ac0c 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -105,4 +105,13 @@
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_USB
+/* NAND support */
+#define CONFIG_CMD_NAND
+#define CONFIG_TEGRA2_NAND
+
+/* Max number of NAND devices */
+#define CONFIG_SYS_MAX_NAND_DEVICE 1
+
+/* Somewhat oddly, the NAND base address must be a config option */
+#define CONFIG_SYS_NAND_BASE TEGRA2_NAND_BASE
#endif /* __CONFIG_H */
--
1.7.7.3
More information about the U-Boot
mailing list