]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: tegra: restrict usable RAM size further
authorStephen Warren <swarren@nvidia.com>
Wed, 29 Jul 2015 19:47:58 +0000 (13:47 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:18 +0000 (08:17 +0200)
commit4c0b480cb4328fd7e3ca986a346cec67178e9e55
tree9fcc1e7676d19191ca9ead335faa7b64a26dc7b1
parentd65719d1d48c2e213d7620d1f99c013c125d0299
ARM: tegra: restrict usable RAM size further

Additionally, ARM64 devices typically run a secure monitor in EL3 and
U-Boot in EL2, and set up some secure RAM carve-outs to contain the EL3
code and data. These carve-outs are located at the top of 32-bit address
space. Restrict U-Boot's RAM usage to well below the location of those
carve-outs. Ideally, we would the secure monitor would inform U-Boot of
exactly which RAM it could use at run-time. However, I'm not sure how to
do that at present (and even if such a mechanism does exist, it would
likely not be generic across all forms of secure monitor).

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/board2.c