summaryrefslogtreecommitdiff
path: root/include/configs/mx1ads.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:33:01 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:05:02 +0200
commit5dc11a511960d490f7f01ffd746edfe6277f99b0 (patch)
treec12bd9d9f7898f5d56077986dda1ddf40613ca99 /include/configs/mx1ads.h
parent9bbb1c0820c1fbd3811ab6ee4ba0f6c6f76b27e4 (diff)
downloadu-boot-imx-5dc11a511960d490f7f01ffd746edfe6277f99b0.zip
u-boot-imx-5dc11a511960d490f7f01ffd746edfe6277f99b0.tar.gz
u-boot-imx-5dc11a511960d490f7f01ffd746edfe6277f99b0.tar.bz2
include/configs: Use new CONFIG_CMD_* in various m* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/mx1ads.h')
-rw-r--r--include/configs/mx1ads.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/include/configs/mx1ads.h b/include/configs/mx1ads.h
index 7f3dfd5..0ae2780 100644
--- a/include/configs/mx1ads.h
+++ b/include/configs/mx1ads.h
@@ -78,25 +78,23 @@
#define CONFIG_BAUDRATE 115200
-/***********************************************************
- * Command definition
- ***********************************************************/
-#define CONFIG_COMMANDS \
- (CONFIG_CMD_DFL | \
- CFG_CMD_CACHE | \
- CFG_CMD_REGINFO | \
- CFG_CMD_ELF)
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_CACHE
+#define CONFIG_CMD_REGINFO
+#define CONFIG_CMD_ELF
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
#define CONFIG_BOOTDELAY 3
#define CONFIG_BOOTARGS "root=/dev/msdk mem=48M"
#define CONFIG_BOOTFILE "mx1ads"
#define CONFIG_BOOTCOMMAND "tftp; bootm"
-#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 */