]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: Tegra186: calculate load addresses at boot
authorStephen Warren <swarren@nvidia.com>
Tue, 9 Jan 2018 00:41:24 +0000 (17:41 -0700)
committerTom Warren <twarren@nvidia.com>
Fri, 12 Jan 2018 17:12:32 +0000 (10:12 -0700)
commit026a8b96bd981e306157bbc095f90acd794a3d88
tree787c779f627b6c6e1bb4285c11f5b2d1b3428ae7
parentcdcf55584e7e6b9be92a258d70d4d08a0216dbd0
ARM: Tegra186: calculate load addresses at boot

In the presence of potentially fragemented memory, we cannot hard-code
addresses into environment variables such as kernel_addr_r. Instead, we
must calculate those addresses at run-time based on available memory
locations. Implement the code to perform such runtime calculation, based
on requirements described in environment variables, to allow the user
full control over the allocation.

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