diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2022-02-08 22:00:09 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-21 08:35:12 -0500 |
commit | a89fea7fd101212cbd0583ba7fa152009afb7a52 (patch) | |
tree | 4b261182f7ea095fd5c4ba111d936308dea808c9 /tools/binman/ftest.py | |
parent | 55e9cef1432ffd42559874b2a469729f20b627d9 (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>
Diffstat (limited to 'tools/binman/ftest.py')
0 files changed, 0 insertions, 0 deletions