Lines Matching refs:CONFIG_SYS_MAX_FLASH_BANKS
60 bank < 1 || bank > CONFIG_SYS_MAX_FLASH_BANKS || in abbrev_spec()
100 for (bank = 0; bank < CONFIG_SYS_MAX_FLASH_BANKS && !found; ++bank) { in flash_sect_roundb()
198 for (bank=0; bank < CONFIG_SYS_MAX_FLASH_BANKS; ++bank) { in flash_fill_sect_ranges()
204 (bank < CONFIG_SYS_MAX_FLASH_BANKS) && (addr_first <= addr_last); in flash_fill_sect_ranges()
279 for (bank=0; bank <CONFIG_SYS_MAX_FLASH_BANKS; ++bank) { in do_flinfo()
288 if ((bank < 1) || (bank > CONFIG_SYS_MAX_FLASH_BANKS)) { in do_flinfo()
290 CONFIG_SYS_MAX_FLASH_BANKS); in do_flinfo()
316 for (bank=1; bank<=CONFIG_SYS_MAX_FLASH_BANKS; ++bank) { in do_flerase()
366 if ((bank < 1) || (bank > CONFIG_SYS_MAX_FLASH_BANKS)) { in do_flerase()
368 CONFIG_SYS_MAX_FLASH_BANKS); in do_flerase()
397 int s_first[CONFIG_SYS_MAX_FLASH_BANKS], s_last[CONFIG_SYS_MAX_FLASH_BANKS]; in flash_sect_erase()
407 (bank < CONFIG_SYS_MAX_FLASH_BANKS) && (rcode == 0); in flash_sect_erase()
464 for (bank=1; bank<=CONFIG_SYS_MAX_FLASH_BANKS; ++bank) { in do_protect()
545 if ((bank < 1) || (bank > CONFIG_SYS_MAX_FLASH_BANKS)) { in do_protect()
547 CONFIG_SYS_MAX_FLASH_BANKS); in do_protect()
593 int s_first[CONFIG_SYS_MAX_FLASH_BANKS], s_last[CONFIG_SYS_MAX_FLASH_BANKS]; in flash_sect_protect()
603 for (bank=0,info = &flash_info[0]; bank < CONFIG_SYS_MAX_FLASH_BANKS; ++bank, ++info) { in flash_sect_protect()