mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 10:21:25 +01:00 
			
		
		
		
	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]
		
			
				
	
	
		
			18 lines
		
	
	
		
			311 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			18 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
 |