diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-08 14:21:43 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-08 16:05:32 -0500 |
commit | e18a1061a8630cb67995fdf99afd3fb50d1b187d (patch) | |
tree | ddd66f520a2280e4acca42f01eba7c8eeb219261 /include/configs/NETVIA.h | |
parent | 8353e139bfad9059c54f5b2421f1a3090e15a2e2 (diff) | |
download | bootable_bootloader_goldelico_gta04-e18a1061a8630cb67995fdf99afd3fb50d1b187d.zip bootable_bootloader_goldelico_gta04-e18a1061a8630cb67995fdf99afd3fb50d1b187d.tar.gz bootable_bootloader_goldelico_gta04-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/NETVIA.h')
-rw-r--r-- | include/configs/NETVIA.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/include/configs/NETVIA.h b/include/configs/NETVIA.h index e30be09..fa91306 100644 --- a/include/configs/NETVIA.h +++ b/include/configs/NETVIA.h @@ -88,28 +88,29 @@ #define CONFIG_RTC_MPC8xx /* use internal RTC of MPC8xx */ -#define CONFIG_COMMANDS_BASE ( CONFIG_CMD_DFL | \ - CFG_CMD_DHCP | \ - CFG_CMD_PING ) + +/* + * Command line configuration. + */ +#include <config_cmd_default.h> + +#define CONFIG_CMD_DHCP +#define CONFIG_CMD_PING #if defined(CONFIG_NETVIA_VERSION) && CONFIG_NETVIA_VERSION >= 2 -#define CONFIG_COMMANDS (CONFIG_COMMANDS_BASE | CFG_CMD_NAND) -#else -#define CONFIG_COMMANDS CONFIG_COMMANDS_BASE +#define CONFIG_CMD_NAND #endif + #define CONFIG_BOARD_EARLY_INIT_F 1 #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 */ @@ -192,7 +193,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 |