]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
tegra: Enable NAND on Seaboard
authorSimon Glass <sjg@chromium.org>
Sun, 29 Jul 2012 20:53:30 +0000 (20:53 +0000)
committerTom Warren <twarren@nvidia.com>
Fri, 7 Sep 2012 20:54:31 +0000 (13:54 -0700)
This enables NAND support for the Seaboard.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/seaboard.h
include/configs/tegra20-common.h

index afc4a855bf0099001c25ba580d1d0d2ae6b983b8..479af1ac6b31d2c16c7b79c08adfef04a717cf00 100644 (file)
 
 #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 */
index 4c02f205437ac8364515c61826308c4231b8d2fa..02cf0cdc14c929156f6adc52d13cd9a5a697218b 100644 (file)
 #define CONFIG_SPL_GPIO_SUPPORT
 #define CONFIG_SPL_LDSCRIPT            "$(CPUDIR)/tegra20/u-boot-spl.lds"
 
+#define CONFIG_SYS_NAND_SELF_INIT
+
 #endif /* __TEGRA20_COMMON_H */