diff options
| author | Wolfgang Denk <wd@denx.de> | 2008-09-12 16:13:12 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-09-12 16:13:12 +0200 | 
| commit | afbc526336447a7357e9c82852df0377d09a8089 (patch) | |
| tree | 63360d749d3f02916a1239b3862c68d41d3f3d19 /common/env_common.c | |
| parent | b476b032562aae5a09985f7e22232a5ee7042746 (diff) | |
| parent | deeec4991a55de243787002ede24d2331d234fc8 (diff) | |
| download | olio-uboot-2014.01-afbc526336447a7357e9c82852df0377d09a8089.tar.xz olio-uboot-2014.01-afbc526336447a7357e9c82852df0377d09a8089.zip | |
Merge branch 'Makefile-next' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'common/env_common.c')
| -rw-r--r-- | common/env_common.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/common/env_common.c b/common/env_common.c index d51c2114d..77f99441a 100644 --- a/common/env_common.c +++ b/common/env_common.c @@ -133,8 +133,8 @@ uchar default_environment[] = {  	"\0"  }; -#if defined(CFG_ENV_IS_IN_NAND)		/* Environment is in Nand Flash */ \ -	|| defined(CFG_ENV_IS_IN_SPI_FLASH) +#if defined(CONFIG_ENV_IS_IN_NAND)		/* Environment is in Nand Flash */ \ +	|| defined(CONFIG_ENV_IS_IN_SPI_FLASH)  int default_environment_size = sizeof(default_environment);  #endif @@ -241,12 +241,12 @@ void env_relocate (void)  	/*  	 * We must allocate a buffer for the environment  	 */ -	env_ptr = (env_t *)malloc (CFG_ENV_SIZE); +	env_ptr = (env_t *)malloc (CONFIG_ENV_SIZE);  	DEBUGF ("%s[%d] malloced ENV at %p\n", __FUNCTION__,__LINE__,env_ptr);  #endif  	if (gd->env_valid == 0) { -#if defined(CONFIG_GTH)	|| defined(CFG_ENV_IS_NOWHERE)	/* Environment not changable */ +#if defined(CONFIG_GTH)	|| defined(CONFIG_ENV_IS_NOWHERE)	/* Environment not changable */  		puts ("Using default environment\n\n");  #else  		puts ("*** Warning - bad CRC, using default environment\n\n"); |