commit | 73c82c8cba50a2d666e2dd50e8377f4b2631b95b | [log] [tgz] |
---|---|---|
author | Mark Kettenis <kettenis@openbsd.org> | Tue Feb 08 22:00:09 2022 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Feb 21 08:35:12 2022 -0500 |
tree | 4b261182f7ea095fd5c4ba111d936308dea808c9 | |
parent | 6327716079d5981b6af26101814a80f8815dedb7 [diff] |
arm: apple: Add M1 Pro/Max support 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>