]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/pci405/flash.c
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / esd / pci405 / flash.c
index 3b21781d7df25b79d5588f0ca1a7c4455f2768b4..905848380084b6f37987c9dde3edfe1afc81f2d6 100755 (executable)
@@ -48,7 +48,7 @@ unsigned long flash_init (void)
        int size_val = 0;
 
        /* Init: no FLASHes known */
-       for (i=0; i<CFG_MAX_FLASH_BANKS; ++i) {
+       for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
                flash_info[i].flash_id = FLASH_UNKNOWN;
        }