Searched refs:bank1_size (Results 1 – 2 of 2) sorted by relevance
229 unsigned long bank1_size, bank2_size; in cm_fx6_spl_dram_init() local236 bank1_size = get_ram_size((long int *)PHYS_SDRAM_1, 0x80000000); in cm_fx6_spl_dram_init()238 if (bank1_size == 0x20000000) { in cm_fx6_spl_dram_init()247 bank1_size = get_ram_size((long int *)PHYS_SDRAM_1, 0x80000000); in cm_fx6_spl_dram_init()248 if (bank1_size == 0x10000000) in cm_fx6_spl_dram_init()257 bank1_size = get_ram_size((long int *)PHYS_SDRAM_1, 0x80000000); in cm_fx6_spl_dram_init()258 if (bank1_size == 0x80000000) in cm_fx6_spl_dram_init()261 if (bank1_size == 0x40000000) { in cm_fx6_spl_dram_init()275 bank1_size = get_ram_size((long int *)PHYS_SDRAM_1, 0x80000000); in cm_fx6_spl_dram_init()276 if (bank1_size == 0x20000000) in cm_fx6_spl_dram_init()[all …]
171 ulong bank1_size; in detect_num_flash_banks() local178 bank1_size = flash_get_size(CONFIG_SYS_FLASH_BASE, 0); in detect_num_flash_banks()179 debug("Bank1 size: %lu\n", bank1_size); in detect_num_flash_banks()180 bank2_size = flash_get_size(CONFIG_SYS_FLASH_BASE + bank1_size, 1); in detect_num_flash_banks()182 total_size = bank1_size + bank2_size; in detect_num_flash_banks()189 bank2_base = (FPWV *) (CONFIG_SYS_FLASH_BASE + bank1_size); in detect_num_flash_banks()230 total_size = bank1_size; in detect_num_flash_banks()