]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/luan/flash.c
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
[karo-tx-uboot.git] / board / amcc / luan / flash.c
index d3c3c0d058140a94f8a525ca0c531da5afdd0d99..3b2f9b746fab556ed4e8a19c68a5af1b15dec004 100644 (file)
@@ -95,7 +95,7 @@ unsigned long flash_init(void)
                (void)flash_protect(FLAG_PROTECT_SET, CFG_MONITOR_BASE,
                                    CFG_MONITOR_BASE + CFG_MONITOR_LEN - 1,
                                    &flash_info[2]);
-#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[2]);