Revert "arm: bootm: Disable LMB reservation for command line and board info on arm64"
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 29 Jul 2021 07:22:02 +0000 (09:22 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Aug 2021 15:59:01 +0000 (11:59 -0400)
commit3823315cbedf930c52fe77452063ab6d62b157be
treee88a4686fb6ed571d202df8c9196243e26d71927
parentb721d0545fa4f4e2d504a2fc1437e67c5c8984c8
Revert "arm: bootm: Disable LMB reservation for command line and board info on arm64"

This reverts commit 2359fa7a87848626bcbd3399e92c657595880cd7.

While the goal is valid and there is surely unused memory in that area,
we also have a lot of crucial things still located at the top-of-memory
while running lmb_alloc_base. Such things are the page table (tlb_addr),
relocated U-Boot and the active stack. Possibly more. So this patch was
premature, we will need relocations of those things first if we want to
use the range.

Fixes booting on the IOT2050, but likely also on other boards. It got
stuck on relocating the FDT - over the relocated U-Boot code.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
arch/arm/lib/bootm.c