Searched refs:current_bank (Results 1 – 1 of 1) sorted by relevance
290 static void dram_bank_sort(int current_bank) in dram_bank_sort() argument295 while (current_bank > 0) { in dram_bank_sort()296 if (gd->bd->bi_dram[current_bank - 1].start > in dram_bank_sort()297 gd->bd->bi_dram[current_bank].start) { in dram_bank_sort()298 start = gd->bd->bi_dram[current_bank - 1].start; in dram_bank_sort()299 size = gd->bd->bi_dram[current_bank - 1].size; in dram_bank_sort()301 gd->bd->bi_dram[current_bank - 1].start = in dram_bank_sort()302 gd->bd->bi_dram[current_bank].start; in dram_bank_sort()303 gd->bd->bi_dram[current_bank - 1].size = in dram_bank_sort()304 gd->bd->bi_dram[current_bank].size; in dram_bank_sort()[all …]