u-boot/board/xilinx/zynqmp
Nathan Rossi 950f86ca38 ARM64: zynqmp: Replace board specific with generic memory bank decoding
The dram_init and dram_init_banksize functions were using a board
specific implementation for decoding the memory banks from the fdt. This
board specific implementation uses a static variable 'tmp' which makes
these functions unsafe for execution from within the board_init_f
context.

This change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT")
Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2016-12-20 09:15:28 +01:00
..
MAINTAINERS ARM64: zynqmp: Simplify MAINTAINERS file to support more boards 2016-04-04 20:28:38 +02:00
Makefile ARM64: zynqmp: Use DTS name for different psu_init_gpl* files in SPL 2016-12-02 14:35:50 +01:00
xil_io.h ARM64: zynqmp: Ignore warnings from autogenerated files 2016-11-15 15:30:29 +01:00
zynqmp.c ARM64: zynqmp: Replace board specific with generic memory bank decoding 2016-12-20 09:15:28 +01:00