]> git.dujemihanovic.xyz Git - u-boot.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)
commit8b9c77053cb4292309f9046df99861c0ed4756b0
tree581fdec10e0ada060efdac3563e7108fa7ed66e3
parent66899c8d193352f0fee17a1ed5cdeabc3e028540
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