u-boot-brain/arch/arm/mach-mvebu
Stefan Roese a8b57a90ec 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>
2015-08-17 18:49:29 +02:00
..
include/mach arm: mvebu: Enable USB EHCI support on Armada XP 2015-08-17 18:49:07 +02:00
serdes arm: mvebu: a38x: Use correct PEX register access macros 2015-07-23 10:39:25 +02:00
cpu.c arm: mvebu: Enable USB EHCI support on Armada XP 2015-08-17 18:49:07 +02:00
dram.c arm: mvebu: dram.c: Rework dram_init() and dram_init_banksize() 2015-08-17 18:49:29 +02:00
gpio.c arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
lowlevel_spl.S arm: armada-xp: Move SoC sources to mach-mvebu 2015-05-05 14:28:29 +02:00
Makefile arm: mvebu: Add Armada 38x SERDES / PHY init code from Marvell bin_hdr 2015-07-23 10:38:14 +02:00
mbus.c arm: mvebu: Enable NAND controller on MVEBU SoC's 2015-08-17 18:49:02 +02:00
spl.c arm: mvebu: Add SPL SDIO/MMC boot support 2015-07-24 09:45:30 +02:00
timer.c arm: mvebu: Call timer_init early before PHY and DDR init 2015-07-23 08:30:58 +02:00
u-boot-spl.lds arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00