commit | c12800f86373286ff3d3ddf2a6ac09e4d8464837 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Fri Jun 22 13:03:19 2018 -0600 |
committer | Tom Warren <twarren@nvidia.com> | Thu Jul 26 13:15:30 2018 -0700 |
tree | 76fec3f15673ed744e8dedecd5eb750c16606e66 | |
parent | 874a906d4299b43e251e07f81a6f70eaa347e0e8 [diff] |
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>