summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorstany MARCEL <stany.marcel@novasys-ingenierie.com>2011-10-19 00:17:13 +0800
committerjason <jason@jason-ThinkPad-T61.(none)>2011-10-19 00:34:57 +0800
commit96d94385a78227c71b1ba98c0ec6df55a9cff94f (patch)
tree846cbfb4f38ffb3ce129b83aab761149478534c1 /include
parent606667d252c09d1c4d5d8b12186bee634ad63b55 (diff)
downloadu-boot-imx-96d94385a78227c71b1ba98c0ec6df55a9cff94f.zip
u-boot-imx-96d94385a78227c71b1ba98c0ec6df55a9cff94f.tar.gz
u-boot-imx-96d94385a78227c71b1ba98c0ec6df55a9cff94f.tar.bz2
ColdFire: Move boards with simple _config rules to boards.cfg
Signed-off-by: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/M5329EVB.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 67cdff1..29b9b2a 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -60,7 +60,7 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#ifdef NANDFLASH_SIZE
+#ifdef CONFIG_NANDFLASH_SIZE
# define CONFIG_CMD_NAND
#endif
@@ -209,7 +209,7 @@
# define CONFIG_SYS_FLASH_PROTECTION /* "Real" (hardware) sectors protection */
#endif
-#ifdef NANDFLASH_SIZE
+#ifdef CONFIG_NANDFLASH_SIZE
# define CONFIG_SYS_MAX_NAND_DEVICE 1
# define CONFIG_SYS_NAND_BASE CONFIG_SYS_CS2_BASE
# define CONFIG_SYS_NAND_SIZE 1
@@ -265,9 +265,9 @@
#define CONFIG_SYS_CS1_MASK 0x001f0001
#define CONFIG_SYS_CS1_CTRL 0x002A3780
-#ifdef NANDFLASH_SIZE
+#ifdef CONFIG_NANDFLASH_SIZE
#define CONFIG_SYS_CS2_BASE 0x20000000
-#define CONFIG_SYS_CS2_MASK ((NANDFLASH_SIZE << 20) | 1)
+#define CONFIG_SYS_CS2_MASK ((CONFIG_NANDFLASH_SIZE << 20) | 1)
#define CONFIG_SYS_CS2_CTRL 0x00001f60
#endif