Lines Matching refs:dram_bank_cnt
124 static void dram_fill_bank_addr(unsigned dram_addr_mask, unsigned dram_bank_cnt, in dram_fill_bank_addr() argument
127 if (dram_bank_cnt == 1) { in dram_fill_bank_addr()
137 unsigned i = dram_bank_cnt / 2; in dram_fill_bank_addr()
149 for (i = dram_bank_cnt, j = 0; in dram_fill_bank_addr()
179 unsigned dram_bank_cnt = *(unsigned *) in dram_init_banksize_int() local
182 dram_fill_bank_addr(dram_addr_mask, dram_bank_cnt, dram_bank_base); in dram_init_banksize_int()
184 for (i = 0; i < dram_bank_cnt; i++) { in dram_init_banksize_int()
196 printf("DRAM total %u banks:\n", dram_bank_cnt); in dram_init_banksize_int()
199 if (dram_bank_cnt > CONFIG_NR_DRAM_BANKS) { in dram_init_banksize_int()
203 CONFIG_NR_DRAM_BANKS, dram_bank_cnt); in dram_init_banksize_int()
204 dram_bank_cnt = CONFIG_NR_DRAM_BANKS; in dram_init_banksize_int()
207 for (i = 0; i < dram_bank_cnt; i++) { in dram_init_banksize_int()