]> git.sur5r.net Git - u-boot/blobdiff - board/icecube/flash.c
rename CFG_ENV_IS_IN_FLASH in CONFIG_ENV_IS_IN_FLASH
[u-boot] / board / icecube / flash.c
index 2d4026a9de7c92798d708bf29d300e84bda96ec7..e6cf92e3df31730d862573a47a3091b8225cec66 100644 (file)
@@ -88,7 +88,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,