rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
[pandora-u-boot.git] / board / tqc / tqm8xx / flash.c
index 1231c7c..f9078cf 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,