summaryrefslogtreecommitdiff
path: root/include/configs/seaboard.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-07-29 20:53:30 +0000
committerTom Warren <twarren@nvidia.com>2012-09-07 13:54:31 -0700
commit0dd84084deef226b9992b6db649b5f41d60b77b8 (patch)
tree793d92402dc7cef00ec3917ca61d2bdf72f54c8a /include/configs/seaboard.h
parent312693c3dd280a73824c6403e249775ccb7c3547 (diff)
tegra: Enable NAND on Seaboard
This enables NAND support for the Seaboard. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/seaboard.h')
-rw-r--r--include/configs/seaboard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index afc4a855bf0..479af1ac6b3 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -105,4 +105,13 @@
#include "tegra20-common-post.h"
+/* NAND support */
+#define CONFIG_CMD_NAND
+#define CONFIG_TEGRA_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 TEGRA20_NAND_BASE
#endif /* __CONFIG_H */