diff options
Diffstat (limited to 'board/amcc/bubinga/flash.c')
| -rw-r--r-- | board/amcc/bubinga/flash.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/board/amcc/bubinga/flash.c b/board/amcc/bubinga/flash.c index e4832ebf3..0295b8c70 100644 --- a/board/amcc/bubinga/flash.c +++ b/board/amcc/bubinga/flash.c @@ -84,7 +84,7 @@ unsigned long flash_init(void)  				    CFG_MONITOR_BASE,  				    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,  				    &flash_info[0]); -#ifdef CFG_ENV_IS_IN_FLASH +#ifdef CONFIG_ENV_IS_IN_FLASH  		(void)flash_protect(FLAG_PROTECT_SET, CFG_ENV_ADDR,  				    CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,  				    &flash_info[0]); |