]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/xsengine/flash.c
rename CFG_ENV macros to CONFIG_ENV
[people/ms/u-boot.git] / board / xsengine / flash.c
index a188e244089e0e1a71e5e5c35ed40498fe324610..f29def268d10d0dd791ecfc77526ff2715b4a573 100644 (file)
@@ -62,7 +62,7 @@ unsigned long flash_init (void)
 
        /* Protect monitor and environment sectors */
        flash_protect ( FLAG_PROTECT_SET,CFG_FLASH_BASE,CFG_FLASH_BASE + monitor_flash_len - 1,&flash_info[0] );
-       flash_protect ( FLAG_PROTECT_SET,CFG_ENV_ADDR,CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0] );
+       flash_protect ( FLAG_PROTECT_SET,CONFIG_ENV_ADDR,CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0] );
 
        return size;
 }