diff options
Diffstat (limited to 'include/configs/aev.h')
| -rw-r--r-- | include/configs/aev.h | 65 | 
1 files changed, 36 insertions, 29 deletions
| diff --git a/include/configs/aev.h b/include/configs/aev.h index f6f530ced..5bab793e9 100644 --- a/include/configs/aev.h +++ b/include/configs/aev.h @@ -44,11 +44,6 @@  #define BOOTFLAG_COLD		0x01	/* Normal Power-On: Boot from FLASH  */  #define BOOTFLAG_WARM		0x02	/* Software reboot	     */ -#define CFG_CACHELINE_SIZE	32	/* For MPC5xxx CPUs */ -#if (CONFIG_COMMANDS & CFG_CMD_KGDB) -#  define CFG_CACHELINE_SHIFT	5	/* log base 2 of the above value */ -#endif -  /*   * Serial console configuration   */ @@ -91,34 +86,42 @@  				 CFG_POST_I2C)  #ifdef CONFIG_POST -#define CFG_CMD_POST_DIAG CFG_CMD_DIAG  /* preserve space for the post_word at end of on-chip SRAM */  #define MPC5XXX_SRAM_POST_SIZE MPC5XXX_SRAM_SIZE-4 -#else -#define CFG_CMD_POST_DIAG 0  #endif + +/* + * BOOTP options + */ +#define CONFIG_BOOTP_BOOTFILESIZE +#define CONFIG_BOOTP_BOOTPATH +#define CONFIG_BOOTP_GATEWAY +#define CONFIG_BOOTP_HOSTNAME + +  /* - * Supported commands + * Command line configuration.   */ -#define CONFIG_COMMANDS	       (CONFIG_CMD_DFL	| \ -				ADD_BMP_CMD	| \ -				CFG_CMD_PCI	| \ -				CFG_CMD_ASKENV	| \ -				CFG_CMD_DATE	| \ -				CFG_CMD_DHCP	| \ -				CFG_CMD_ECHO	| \ -				CFG_CMD_EEPROM	| \ -				CFG_CMD_I2C	| \ -				CFG_CMD_MII	| \ -				CFG_CMD_NFS	| \ -				CFG_CMD_PING	| \ -				CFG_CMD_POST_DIAG | \ -				CFG_CMD_REGINFO | \ -				CFG_CMD_SNTP	) +#include <config_cmd_default.h> + +#define CONFIG_CMD_ASKENV +#define CONFIG_CMD_DATE +#define CONFIG_CMD_DHCP +#define CONFIG_CMD_ECHO +#define CONFIG_CMD_EEPROM +#define CONFIG_CMD_I2C +#define CONFIG_CMD_MII +#define CONFIG_CMD_NFS +#define CONFIG_CMD_PCI +#define CONFIG_CMD_PING +#define CONFIG_CMD_REGINFO +#define CONFIG_CMD_SNTP + +#ifdef CONFIG_POST +#define CONFIG_CMD_DIAG +#endif -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h>  #define	CONFIG_TIMESTAMP		/* display image timestamps */ @@ -324,7 +327,7 @@   */  #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  */ @@ -343,9 +346,13 @@  #define CFG_HZ			1000	/* decrementer freq: 1 ms ticks */ +#define CFG_CACHELINE_SIZE	32	/* For MPC5xxx CPUs */ +#if defined(CONFIG_CMD_KGDB) +#  define CFG_CACHELINE_SHIFT	5	/* log base 2 of the above value */ +#endif +  /* - * Enable loopw commando. This has only affect, if CFG_CMD_MEM is defined, - * which is normally part of the default commands (CFV_CMD_DFL) + * Enable loopw command.   */  #define CONFIG_LOOPW |