]> git.sur5r.net Git - u-boot/commit
ARM: Tegra186: search for best RAM bank
authorStephen Warren <swarren@nvidia.com>
Wed, 3 Jan 2018 21:32:34 +0000 (14:32 -0700)
committerTom Warren <twarren@nvidia.com>
Fri, 12 Jan 2018 17:12:31 +0000 (10:12 -0700)
commitd5859255d9799db8f18ac3487ec3ac9427503edb
tree968cdcb056588a6fab632403d334c322fbe78c5e
parent15751403b6072acabdd7ccad10013cb80b6c6a34
ARM: Tegra186: search for best RAM bank

In the future, the list of DRAM regions passed to U-Boot in the DTB may
be quite long and fragmented. Due to this, U-Boot must search through the
regions to find the best region to relocate into, rather than relying on
the current assumption that the top of bank 0 is a reasonable relocation
target. This change implements such searching.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra186/nvtboot_mem.c