]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/esd/ocrtc/flash.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / board / esd / ocrtc / flash.c
index c3d8bec91378863aefcb481325827374f7ae3c18..e763a895ea4d37ebc3134a4ff7affc29cc937a67 100644 (file)
@@ -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;
        }