]> git.baikalelectronics.ru Git - uboot.git/commit
arm: apple: Fix mem layout
authorMark Kettenis <kettenis@openbsd.org>
Mon, 21 Mar 2022 21:41:18 +0000 (22:41 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Mar 2022 12:22:17 +0000 (08:22 -0400)
commit7017569025ae4eaf5ab0c6be9c0dcf35323d13d9
tree581fdec10e0ada060efdac3563e7108fa7ed66e3
parentf81cfde863fdfd76af79e0177f043f1b40777767
arm: apple: Fix mem layout

The current approach for setting the environment variables that
describe the memory layout runs the risk of overlapping with
reserved memory regions. Use the lmb code to derive the addresses
for these variables instead.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-apple/board.c