
This series adds two functions for handling the memory bank decoding and initialization of global data for use by boards in their dram_init and dram_init_banksize functions.
The series also changes the zynq and zynqmp board implementations to use these functions to resolve a issue with static variable use.
Nathan Rossi (3): fdt: add memory bank decoding functions for board setup ARM: zynq: Replace board specific with generic memory bank decoding ARM64: zynqmp: Replace board specific with generic memory bank decoding
board/xilinx/zynq/board.c | 112 ++----------------------------------------- board/xilinx/zynqmp/zynqmp.c | 112 ++----------------------------------------- include/fdtdec.h | 25 ++++++++++ lib/fdtdec.c | 54 +++++++++++++++++++++ 4 files changed, 85 insertions(+), 218 deletions(-)