diff options
Diffstat (limited to 'include/configs/idmr.h')
| -rw-r--r-- | include/configs/idmr.h | 37 | 
1 files changed, 23 insertions, 14 deletions
| diff --git a/include/configs/idmr.h b/include/configs/idmr.h index b1dbe2ccb..1ab7b27a5 100644 --- a/include/configs/idmr.h +++ b/include/configs/idmr.h @@ -78,18 +78,27 @@  	"u-boot=/tftpboot/idmr/u-boot.bin\0"				\  	"" + +/* + * BOOTP options + */ +#define CONFIG_BOOTP_BOOTFILESIZE +#define CONFIG_BOOTP_BOOTPATH +#define CONFIG_BOOTP_GATEWAY +#define CONFIG_BOOTP_HOSTNAME + +  /* - * Commands' definition + * Command line configuration.   */ -#define CONFIG_COMMANDS		((CONFIG_CMD_DFL		| \ -					CFG_CMD_PING		| \ -					CFG_CMD_JFFS2		| \ -					CFG_CMD_NET)		& \ -					~(CFG_CMD_LOADS		| \ -						CFG_CMD_LOADB)) +#include <config_cmd_default.h> + +#define CONFIG_CMD_PING +#define CONFIG_CMD_JFFS2 +#define CONFIG_CMD_NET -/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ -#include <cmd_confdefs.h> +#undef CONFIG_CMD_LOADS +#undef CONFIG_CMD_LOADB  /* @@ -115,11 +124,11 @@  #define CFG_PROMPT		"=> "  #define CFG_LONGHELP				/* undef to save memory */ -#if (CONFIG_COMMANDS & CFG_CMD_KGDB) +#if defined(CONFIG_CMD_KGDB)  #define CFG_CBSIZE		1024		/* Console I/O Buffer Size */ -#else /* !(CONFIG_COMMANDS & CFG_CMD_KGDB) */ +#else  #define CFG_CBSIZE		256		/* Console I/O Buffer Size */ -#endif /* (CONFIG_COMMANDS & CFG_CMD_KGDB) */ +#endif  #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */  #define CFG_MAXARGS		16		/* max number of command args */ @@ -206,8 +215,8 @@  						"2m(rootfs),"	\  						"-(user)"; -#if (CONFIG_COMMANDS & CFG_CMD_MII) +#if defined(CONFIG_CMD_MII)  #error MII commands don't work on iDMR board and sholud not be enabled. -#endif /* (CONFIG_COMMANDS & CFG_CMD_MII) */ +#endif  #endif /* _IDMR_H */ |