diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-08 10:09:35 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-08 16:05:25 -0500 |
commit | 6c4f4da9bfc9f9403f54fce678ed0364b7c86a6a (patch) | |
tree | ee870c0d0cda206667308266cc63c34f9fdf08e9 /include/configs/HUB405.h | |
parent | 60a0876b5106b34220e459c208bbf648073306c0 (diff) | |
download | u-boot-imx-6c4f4da9bfc9f9403f54fce678ed0364b7c86a6a.zip u-boot-imx-6c4f4da9bfc9f9403f54fce678ed0364b7c86a6a.tar.gz u-boot-imx-6c4f4da9bfc9f9403f54fce678ed0364b7c86a6a.tar.bz2 |
include/configs: Use new CONFIG_CMD_* in various H* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/HUB405.h')
-rw-r--r-- | include/configs/HUB405.h | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/include/configs/HUB405.h b/include/configs/HUB405.h index f84e356..d29bddb 100644 --- a/include/configs/HUB405.h +++ b/include/configs/HUB405.h @@ -60,18 +60,21 @@ #define CONFIG_PHY_CLK_FREQ EMAC_STACR_CLK_66MHZ /* 66 MHz OPB clock*/ -#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \ - CFG_CMD_DHCP | \ - CFG_CMD_IRQ | \ - CFG_CMD_ELF | \ - CFG_CMD_NAND | \ - CFG_CMD_I2C | \ - CFG_CMD_MII | \ - CFG_CMD_PING | \ - CFG_CMD_EEPROM ) - -/* 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_DHCP +#define CONFIG_CMD_IRQ +#define CONFIG_CMD_ELF +#define CONFIG_CMD_NAND +#define CONFIG_CMD_I2C +#define CONFIG_CMD_MII +#define CONFIG_CMD_PING +#define CONFIG_CMD_EEPROM + #undef CONFIG_WATCHDOG /* watchdog disabled */ @@ -88,7 +91,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 */ @@ -271,7 +274,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 |