u-boot/arch/arm/mach-apple/lowlevel_init.S
Mark Kettenis 003b657edc arm: apple: Add initial support for Apple's M1 SoC
Add support for Apple's M1 SoC that is used in "Apple Silicon"
Macs.  This builds a basic U-Boot that can be used as a payload
for the m1n1 boot loader being developed by the Asahi Linux
project.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Add MAINTAINERS entry]
2021-10-31 08:46:44 -04:00

17 lines
311 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2021 Mark Kettenis <kettenis@openbsd.org>
*/
.align 8
.global fw_dtb_pointer
fw_dtb_pointer:
.quad 0
.global save_boot_params
save_boot_params:
/* Stash DTB pointer passed by m1n1 */
adr x1, fw_dtb_pointer
str x0, [x1]
b save_boot_params_ret