]> git.sur5r.net Git - u-boot/commit
ARM64: zynqmp: Read RAM information from DT
authorMichal Simek <michal.simek@xilinx.com>
Mon, 8 Feb 2016 08:34:53 +0000 (09:34 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 4 Apr 2016 18:28:38 +0000 (20:28 +0200)
commit8d59d7f63bf46dd26fd11039e63e3ba9e2673c95
tree2308f63ded4965446db82cc1fe7fd2a6350cd3dd
parenta3afb4a4bfbe4318ca8398ce7b0e01d8748a111c
ARM64: zynqmp: Read RAM information from DT

Read information about memory from DT. This patch simplify life with
synchronization between DT and board files.

dram_init() only needs maximum RAM size below 4GB that's why please sort
banks in memory node.
dram_init_banksize() copies memory setup to bi_dram[].
This will avoid reading information from DT twice.

Memory test start/end were changed to DDR location to let memtest still
compiled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c
include/configs/xilinx_zynqmp.h
include/configs/xilinx_zynqmp_ep.h