]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: Tegra186: mem parsing fixes from downstream
authorStephen Warren <swarren@nvidia.com>
Wed, 3 Jan 2018 21:32:33 +0000 (14:32 -0700)
committerTom Warren <twarren@nvidia.com>
Fri, 12 Jan 2018 16:52:11 +0000 (09:52 -0700)
commitf6974712173d60830b7b8aa86b8ceac5a7cfd0c6
treeb2489877c517ff9b3a68eb8d74b5493f44e05618
parentddecaaf3b9919d3b9b90ada858c1f7ff90c5ed7c
ARM: Tegra186: mem parsing fixes from downstream

Apply a few small fixes for the DTB /memory node parsing from NVIDIA's
downstream U-Boot:

- Allow arbitrary number of DRAM banks.
- Correctly calculate the number of DRAM banks.
- Clip PCIe memory in the same way as U-Boot CPU memory use.

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