Searched hist:a8b57a90ec65832ca069ed1b0900cf92e9efd6a0 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/arm/mach-mvebu/ |
| H A D | dram.c | a8b57a90ec65832ca069ed1b0900cf92e9efd6a0 Mon Aug 10 13:11:27 UTC 2015 Stefan Roese <sr@denx.de> arm: mvebu: dram.c: Rework dram_init() and dram_init_banksize()
Rework these functions so that dram_init_banksize() does not call dram_init() again. It only needs to set the banksize values in the bdinfo struct.
Make sure to also clip the size of the last bank if it exceeds the maximum allowed value of 3 GiB (0xc000.0000). Otherwise other address windows (e.g. PCIe) will overlap with this memory window.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr>
|