]> git.baikalelectronics.ru Git - uboot.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)
commit043ef21b4b64870ccc69cd43fe8810c4599a5b9c
tree199779ef182d28413687beaaf008dea6648207c2
parent6a9ad1dfe4c3f9b7b7205e0d2fbd869a853f1299
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 e19595855e6f ("board: stm32mp1: reserve
memory for OP-TEE in device tree") and commit 61b9ea1793d1 ("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