arm: bootm: Disable LMB reservation for command line and board info on arm64
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 29 May 2021 11:34:32 +0000 (13:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jul 2021 16:15:41 +0000 (12:15 -0400)
commit2359fa7a87848626bcbd3399e92c657595880cd7
treeeec4545af12921acba9c65a01e94e45ec49238b2
parentee0fbf4ef766f8d6a5a2d35906dfa2e3987f6f66
arm: bootm: Disable LMB reservation for command line and board info on arm64

On arm64, board info is not applicable and kernel command line patched into
the DT, so the LMB reservation here makes no sense anymore. On legacy arm32,
this might still be necessary on systems which do not use DT or use legacy
ATAGS. Disable this LMB reservation on arm64.

This also permits Linux DT to specify reserved memory node at address close
to the end of DRAM bank, i.e. overlaping with U-Boot location. Since after
boot, U-Boot will be no more, this is OK.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Hai Pham <hai.pham.ud@renesas.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Rini <trini@konsulko.com>
arch/arm/lib/bootm.c