summaryrefslogtreecommitdiff
path: root/include/configs/smdk2400.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:33:30 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:05:13 +0200
commit46da1e96b7db14f4fcd2c92544e7c0862024bc76 (patch)
tree796323dd9f5b1b9d193dafc038ae8c26ed53cad3 /include/configs/smdk2400.h
parent90cc3eb6d2be856d9ddd81436de9cf343bc6b5c8 (diff)
downloadu-boot-imx-46da1e96b7db14f4fcd2c92544e7c0862024bc76.zip
u-boot-imx-46da1e96b7db14f4fcd2c92544e7c0862024bc76.tar.gz
u-boot-imx-46da1e96b7db14f4fcd2c92544e7c0862024bc76.tar.bz2
include/configs: Use new CONFIG_CMD_* in various s* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/smdk2400.h')
-rw-r--r--include/configs/smdk2400.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/include/configs/smdk2400.h b/include/configs/smdk2400.h
index a137f9d..22e6972 100644
--- a/include/configs/smdk2400.h
+++ b/include/configs/smdk2400.h
@@ -86,24 +86,23 @@
/* Use s3c2400's RTC */
#define CONFIG_RTC_S3C24X0 1
-#ifndef USE_920T_MMU
-#define CONFIG_COMMANDS_tmp ((CONFIG_CMD_DFL & ~CFG_CMD_CACHE) | \
- CFG_CMD_DATE | \
- CFG_CMD_SNTP )
-#else
-#define CONFIG_COMMANDS_tmp (CONFIG_CMD_DFL | \
- CFG_CMD_DATE | \
- CFG_CMD_SNTP )
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_SNTP
+
+#if defined(CONFIG_HWFLOW)
+ #define CONFIG_CONFIG_HWFLOW
#endif
-#ifdef CONFIG_HWFLOW
-#define CONFIG_COMMANDS (CONFIG_COMMANDS_tmp | CFG_CMD_HWFLOW)
-#else
-#define CONFIG_COMMANDS CONFIG_COMMANDS_tmp
+#if !defined(USE_920T_MMU)
+ #undef CONFIG_CMD_CACHE
#endif
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
#define CONFIG_BOOTDELAY 3
#if 0
@@ -118,7 +117,7 @@
#define CONFIG_BOOTCOMMAND "tftp; bootm"
#endif
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
/* what's this ? it's not used anywhere */
#define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */