
21 Feb
2022
21 Feb
'22
5:39 p.m.
On Tue, Feb 08, 2022 at 10:00:09PM +0100, Mark Kettenis wrote:
Choose the memory map based on the compatible property from the device tree passed to us by m1n1. Since DRAM on the M1 Pro/Max starts at a different address avoid hardcoding the top of usable memory. Also make sure that the addresses entered into the memory map are page aligned such that we don't crash in dcache_enable().
Signed-off-by: Mark Kettenis kettenis@openbsd.org Tested on: Macbook M1 Max Tested-by: Janne Grunau j@jannau.net
Applied to u-boot/master, thanks!
--
Tom