]> git.sur5r.net Git - u-boot/commit
arm64: zynqmp: Setup MMU map for DDR at run time
authorNitin Jain <nitin.jain@xilinx.com>
Fri, 20 Apr 2018 07:00:40 +0000 (12:30 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 11 May 2018 07:23:43 +0000 (09:23 +0200)
commit0678941ae54b3f1bbd8024c8d74fb282f0c1b590
treea7d7b3f17b36ceb28352db914600e06e1e499fc9
parent767afebbcda59f3ccb04f6c94de8cab2fb7905b6
arm64: zynqmp: Setup MMU map for DDR at run time

This patch fills the MMU map for DDR at run time based on information read
from Device Tree or automatically detected from static configuration.

The patch is needed because for systems which has for example 1GB of memory
but MMU map is 2GB there could be spurious accesses which was seen in past
when mapping is not fitting with actual memory installed.

Signed-off-by: Nitin Jain <nitin.jain@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/cpu.c
arch/arm/include/asm/arch-zynqmp/sys_proto.h
board/xilinx/zynqmp/zynqmp.c