~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: e1c0d91cef2c1145fdf1259184edc64b9cde8d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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