diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2016-12-19 00:03:34 +1000 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-12-20 09:15:28 +0100 |
commit | 950f86ca38325c9ae7874895d2cdbdda5496e712 (patch) | |
tree | f9d0d2dc18f16ab7c7c7479f46672ecf13ec06c8 /board/xilinx/zynq | |
parent | de9bf1b591a80ef8fce8cad5c3d5a1139d136a77 (diff) | |
download | u-boot-imx-950f86ca38325c9ae7874895d2cdbdda5496e712.zip u-boot-imx-950f86ca38325c9ae7874895d2cdbdda5496e712.tar.gz u-boot-imx-950f86ca38325c9ae7874895d2cdbdda5496e712.tar.bz2 |
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>
Diffstat (limited to 'board/xilinx/zynq')
0 files changed, 0 insertions, 0 deletions