提交 3823315c 编写于 作者: J Jan Kiszka 提交者: Tom Rini

Revert "arm: bootm: Disable LMB reservation for command line and board info on arm64"

This reverts commit 2359fa7a.

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: NJan Kiszka <jan.kiszka@siemens.com>
上级 b721d054
......@@ -43,7 +43,6 @@ DECLARE_GLOBAL_DATA_PTR;
static struct tag *params;
#ifndef CONFIG_ARM64
static ulong get_sp(void)
{
ulong ret;
......@@ -87,7 +86,6 @@ void arch_lmb_reserve(struct lmb *lmb)
break;
}
}
#endif
__weak void board_quiesce_devices(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册