diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-07-04 22:30:58 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-05 11:04:18 +0200 |
commit | 866e3089bfc826bb4dc74637f8aad87a3bab79fc (patch) | |
tree | 632d61b55c126c12055fa7be309f64349e9aead1 /include/configs/sbc405.h | |
parent | 2694690e285acaa34922f55f4b5ae030da60c55a (diff) | |
download | bootable_bootloader_goldelico_gta04-866e3089bfc826bb4dc74637f8aad87a3bab79fc.zip bootable_bootloader_goldelico_gta04-866e3089bfc826bb4dc74637f8aad87a3bab79fc.tar.gz bootable_bootloader_goldelico_gta04-866e3089bfc826bb4dc74637f8aad87a3bab79fc.tar.bz2 |
include/configs: Use new CONFIG_CMD_* in sbc* board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/sbc405.h')
-rw-r--r-- | include/configs/sbc405.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/include/configs/sbc405.h b/include/configs/sbc405.h index beff28a..af34dbb 100644 --- a/include/configs/sbc405.h +++ b/include/configs/sbc405.h @@ -88,19 +88,21 @@ #define CONFIG_ENV_OVERWRITE -#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \ - CFG_CMD_BSP | \ - CFG_CMD_ELF | \ - CFG_CMD_I2C | \ - CFG_CMD_IRQ | \ - CFG_CMD_MII | \ - CFG_CMD_PCI | \ - CFG_CMD_PING | \ - CFG_CMD_SDRAM | \ - 0 ) - -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> + +/* + * Command line configuration. + */ +#include <config_cmd_default.h> + +#define CONFIG_CMD_BSP +#define CONFIG_CMD_ELF +#define CONFIG_CMD_I2C +#define CONFIG_CMD_IRQ +#define CONFIG_CMD_MII +#define CONFIG_CMD_PCI +#define CONFIG_CMD_PING +#define CONFIG_CMD_SDRAM + #undef CONFIG_WATCHDOG /* watchdog disabled */ @@ -123,7 +125,7 @@ #define CFG_PROMPT_HUSH_PS2 "> " #endif -#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 */ @@ -229,7 +231,7 @@ #define CFG_DCACHE_SIZE 16384 /* For AMCC 405 CPUs, older 405 ppc's */ /* have only 8kB, 16kB is save here */ #define CFG_CACHELINE_SIZE 32 /* ... */ -#if (CONFIG_COMMANDS & CFG_CMD_KGDB) +#if defined(CONFIG_CMD_KGDB) #define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */ #endif |