]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: tegra: avoid using secure carveout RAM
authorStephen Warren <swarren@nvidia.com>
Fri, 22 Jun 2018 19:03:19 +0000 (13:03 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 26 Jul 2018 20:15:30 +0000 (13:15 -0700)
commitd10904f589b586d3f0b1353d12ed94c1ac42777b
tree76fec3f15673ed744e8dedecd5eb750c16606e66
parente0604abc5c66a417db97f774a06364eb98228d1e
ARM: tegra: avoid using secure carveout RAM

If a secure carveout exists, U-Boot cannot use that memory. Fix
carveout_size() to reflect this, and hence transitively fix
usable_ram_size_below_4g() and board_get_usable_ram_top(). This change
ensures that when U-Boot copies the secure monitor code to install it, the
copy target is not in-use for U-Boot code/data.

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