arm64: mvebu: do not map firmware RT service region
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Fri, 30 Apr 2021 13:29:48 +0000 (15:29 +0200)
committerStefan Roese <sr@denx.de>
Sun, 16 May 2021 04:48:45 +0000 (06:48 +0200)
commita2122d8bab8d41736d12e353cf00a75ae639873f
treed0bdf8e887199020aa4f914ae3549f204af3b5c2
parent762f9fba0f748c1f7fd3e0ed52c2baebfa6d1bff
arm64: mvebu: do not map firmware RT service region

There is region left by ATF, which needs to remain in memory to provide RT
services. To prevent overwriting it by u-boot, do not provide any mapping
for this memory region, so any attempt to access it will trigger
synchronous exception.

Update sr 2021-04-12:
Don't update armada3700/cpu.c mmu table, as this has specific changes
included in mainline.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/armada8k/cpu.c
arch/arm/mach-mvebu/include/mach/fw_info.h [new file with mode: 0644]