arm64: renesas: Make bottom 128 MiB of DRAM available in EL3
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 21 Dec 2024 21:46:36 +0000 (22:46 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 29 Dec 2024 15:55:31 +0000 (16:55 +0100)
commit6a32d5b54f86abc4b1129a5ddf0125a7a75cd383
tree08537601b6794e2bbee2ba0e501f50989f711c7c
parentcf096e7d73eaf36dbdd1e24339c1676b262dc661
arm64: renesas: Make bottom 128 MiB of DRAM available in EL3

In case U-Boot runs in EL3, which is the highest privilege level on ARM64,
there can be no firmware running that would restrict access to the bottom
128 MiB of DRAM. In fact, it is likely that U-Boot would have to load that
firmware into those bottom 128 MiB of DRAM and start that firmware.

Make those bottom 128 MiB of DRAM available in case U-Boot runs in EL3 to
allow loading the firmware to that area.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
board/renesas/rcar-common/common.c