diff options
| author | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
|---|---|---|
| committer | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
| commit | 50bd0057ba8fceeb48533f8b1a652ccd0e170838 (patch) | |
| tree | ea1a183343573c2a48248923b96d316c0956727c /common/env_common.c | |
| parent | 9dbc366744960013965fce8851035b6141f3b3ae (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.tar.xz olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.zip | |
Merge git://git.denx.de/u-boot into x1
Conflicts:
	drivers/usb/usb_ohci.c
Diffstat (limited to 'common/env_common.c')
| -rw-r--r-- | common/env_common.c | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/common/env_common.c b/common/env_common.c index 77f99441a..6be3bb04a 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -91,14 +91,20 @@ uchar default_environment[] = {  #ifdef	CONFIG_ETH3ADDR  	"eth3addr="	MK_STR(CONFIG_ETH3ADDR)		"\0"  #endif +#ifdef	CONFIG_ETH4ADDR +	"eth4addr="	MK_STR(CONFIG_ETH4ADDR)		"\0" +#endif +#ifdef	CONFIG_ETH5ADDR +	"eth5addr="	MK_STR(CONFIG_ETH5ADDR)		"\0" +#endif  #ifdef	CONFIG_IPADDR  	"ipaddr="	MK_STR(CONFIG_IPADDR)		"\0"  #endif  #ifdef	CONFIG_SERVERIP  	"serverip="	MK_STR(CONFIG_SERVERIP)		"\0"  #endif -#ifdef	CFG_AUTOLOAD -	"autoload="	CFG_AUTOLOAD			"\0" +#ifdef	CONFIG_SYS_AUTOLOAD +	"autoload="	CONFIG_SYS_AUTOLOAD			"\0"  #endif  #ifdef	CONFIG_PREBOOT  	"preboot="	CONFIG_PREBOOT			"\0" @@ -214,7 +220,7 @@ void set_default_env(void)  	memset(env_ptr, 0, sizeof(env_t));  	memcpy(env_ptr->data, default_environment,  	       sizeof(default_environment)); -#ifdef CFG_REDUNDAND_ENVIRONMENT +#ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT  	env_ptr->flags = 0xFF;  #endif  	env_crc_update (); |