]> git.sur5r.net Git - u-boot/blobdiff - board/iphase4539/flash.c
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[u-boot] / board / iphase4539 / flash.c
index 4eca46720cc92ef395a3c5248ff203d23f15e71c..098dcc2a4dd04904b21e57413af1823be5e63f02 100644 (file)
@@ -75,11 +75,11 @@ unsigned long flash_init (void)
                              flash_info + bank);
 #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,
-                             CFG_ENV_ADDR + CFG_ENV_SECT_SIZE - 1,
+                             CONFIG_ENV_ADDR,
+                             CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE - 1,
                              flash_info + bank);
 #endif