Searched refs:cfi_flash_num_flash_banks (Results 1 – 5 of 5) sorted by relevance
133 cfi_flash_num_flash_banks = 0; in detect_num_flash_banks()139 if (cfi_flash_num_flash_banks >= in detect_num_flash_banks()144 flash_banks_list[cfi_flash_num_flash_banks] = in detect_num_flash_banks()150 cfi_flash_num_flash_banks++; in detect_num_flash_banks()154 debug("number of flash banks: %d\n", cfi_flash_num_flash_banks); in detect_num_flash_banks()
160 #define CONFIG_SYS_MAX_FLASH_BANKS (cfi_flash_num_flash_banks)163 extern int cfi_flash_num_flash_banks;
175 cfi_flash_num_flash_banks = 2; /* assume two banks */ in detect_num_flash_banks()229 cfi_flash_num_flash_banks = 1; in detect_num_flash_banks()235 debug("Number of flash banks detected: %d\n", cfi_flash_num_flash_banks); in detect_num_flash_banks()
92 int cfi_flash_num_flash_banks = CONFIG_SYS_MAX_FLASH_BANKS_DETECT; variable94 int cfi_flash_num_flash_banks; variable102 cfi_flash_num_flash_banks = 0; in cfi_flash_init_dm()2481 flash_info[cfi_flash_num_flash_banks].dev = dev; in cfi_flash_probe()2482 flash_info[cfi_flash_num_flash_banks].base = addr; in cfi_flash_probe()2483 cfi_flash_num_flash_banks++; in cfi_flash_probe()
380 cfi_flash_num_flash_banks = 1; in rpc_hf_probe()