summaryrefslogtreecommitdiff
path: root/include/configs/lpd7a400.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:32:57 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:05:00 +0200
commit9bbb1c0820c1fbd3811ab6ee4ba0f6c6f76b27e4 (patch)
tree6ca33210a48d2928a43b6327336dece3bc4644e3 /include/configs/lpd7a400.h
parentbc234c129fa04fb9fa33530930e5cbc6084cd47a (diff)
include/configs: Use new CONFIG_CMD_* in various l* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/lpd7a400.h')
-rw-r--r--include/configs/lpd7a400.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/include/configs/lpd7a400.h b/include/configs/lpd7a400.h
index d7d0460ef..414cb14da 100644
--- a/include/configs/lpd7a400.h
+++ b/include/configs/lpd7a400.h
@@ -55,19 +55,23 @@
#define CONFIG_TIMESTAMP 1 /* Print timestamp info for images */
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
#ifndef USE_920T_MMU
-#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_PING) & ~(CFG_CMD_CACHE))
+ #define CONFIG_CMD_PING
+ #undef CONFIG_CMD_CACHE
#else
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DATE)
+ #define CONFIG_CMD_DATE
#endif
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
-
#define CONFIG_BOOTDELAY 3
-#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 */