diff options
Diffstat (limited to 'board/evb4510/flash.c')
-rw-r--r-- | board/evb4510/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/evb4510/flash.c b/board/evb4510/flash.c index aff92f9..bcefafc 100644 --- a/board/evb4510/flash.c +++ b/board/evb4510/flash.c @@ -399,7 +399,7 @@ unsigned long flash_init (void) amd160base, amd160base + monitor_flash_len - 1, info); flash_protect (FLAG_PROTECT_SET, - CFG_ENV_ADDR, CFG_ENV_ADDR + CFG_ENV_SIZE - 1, info); + CONFIG_ENV_ADDR, CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, info); #if CFG_MAX_FLASH_BANKS == 2 /* Configure AMD Am29LV040B (512KB) */ |