rename CFG_ENV macros to CONFIG_ENV
[platform/kernel/u-boot.git] / board / zylonite / flash.c
index ba82892..80b520b 100644 (file)
@@ -62,6 +62,7 @@ void inline spin_wheel (void);
 
 unsigned long flash_init (void)
 {
+#if 0
        int i;
        ulong size = 0;
 
@@ -90,10 +91,12 @@ unsigned long flash_init (void)
                        &flash_info[0] );
 
        flash_protect ( FLAG_PROTECT_SET,
-                       CFG_ENV_ADDR,
-                       CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0] );
+                       CONFIG_ENV_ADDR,
+                       CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1, &flash_info[0] );
 
        return size;
+#endif
+       return 0;
 }
 
 /*-----------------------------------------------------------------------