]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/cmc_pu2/flash.c
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
[people/ms/u-boot.git] / board / cmc_pu2 / flash.c
index 9983c7b78c0b01465d108254646b05a8af3c2031..0419d7620026cf9fc008f1485ad6bba8bb97c3a7 100644 (file)
@@ -71,7 +71,7 @@ unsigned long flash_init (void)
                      flash_get_info(CFG_MONITOR_BASE));
 #endif
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
        /* ENV protection ON by default */
        flash_protect(FLAG_PROTECT_SET,
                      CFG_ENV_ADDR,