]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynqmp: Do not place u-boot to reserved memory location
authorMichal Simek <michal.simek@xilinx.com>
Mon, 31 May 2021 09:03:19 +0000 (11:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:35 +0000 (09:48 +0200)
commitce39ee28ec31b04c5c4e50d57a852ef8c1b2b26f
tree199779ef182d28413687beaaf008dea6648207c2
parent43ef4c82fe4d9a4790b358b82de336f4dd5bf681
zynqmp: Do not place u-boot to reserved memory location

TF-A and SecureOS can allocate the part of DDR for self but U-Boot is not
handling this configuration that the part of memory is reserved and
shouldn't be used by U-Boot. That's why read all reserved memory locations
and don't use it.
The code was taken from commit 4a1b975dac02 ("board: stm32mp1: reserve
memory for OP-TEE in device tree") and commit 1419e5b5167e ("stm32mp:
update MMU config before the relocation") which is used by stm32 and does
the job properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c