]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/tqc/tqm8xx/flash.c
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
[people/ms/u-boot.git] / board / tqc / tqm8xx / flash.c
index 1231c7c6f9347aa2598f94db1aa852cd88a94036..f9078cffd95a7c62b064de185b21d90ae71ad5cc 100644 (file)
@@ -176,7 +176,7 @@ unsigned long flash_init (void)
                      &flash_info[0]);
 #endif
 
-#ifdef CFG_ENV_IS_IN_FLASH
+#ifdef CONFIG_ENV_IS_IN_FLASH
        /* ENV protection ON by default */
 # ifdef CFG_ENV_ADDR_REDUND
        debug ("Protect primary   environment: %08lx ... %08lx\n",
@@ -229,7 +229,7 @@ unsigned long flash_init (void)
                              &flash_info[1]);
 #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,