summaryrefslogtreecommitdiff
path: root/include/configs/NX823.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 14:21:43 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 16:05:32 -0500
commite18a1061a8630cb67995fdf99afd3fb50d1b187d (patch)
treeddd66f520a2280e4acca42f01eba7c8eeb219261 /include/configs/NX823.h
parent8353e139bfad9059c54f5b2421f1a3090e15a2e2 (diff)
downloadu-boot-imx-e18a1061a8630cb67995fdf99afd3fb50d1b187d.zip
u-boot-imx-e18a1061a8630cb67995fdf99afd3fb50d1b187d.tar.gz
u-boot-imx-e18a1061a8630cb67995fdf99afd3fb50d1b187d.tar.bz2
include/configs: Use new CONFIG_CMD_* in various [NO]* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/NX823.h')
-rw-r--r--include/configs/NX823.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/configs/NX823.h b/include/configs/NX823.h
index 1cb8b8f..527bd9d 100644
--- a/include/configs/NX823.h
+++ b/include/configs/NX823.h
@@ -56,21 +56,26 @@
#undef CFG_LOADS_BAUD_CHANGE /* don't allow baudrate change */
#undef CONFIG_WATCHDOG /* watchdog disabled, for now */
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_AUTOSCRIPT)
#define CONFIG_AUTOSCRIPT
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_AUTOSCRIPT
+
+
/* call various generic functions */
#define CONFIG_MISC_INIT_R
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
-
/*
* Miscellaneous configurable options
*/
#define CFG_LONGHELP /* undef to save memory */
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
#else
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
@@ -152,7 +157,7 @@
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
#endif