aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/bootparams_atmel.S
blob: 45cd7a9f34a5cdaea8476ecbc6981a8fd87febc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Atmel SAMA5Dx boot parameter handling
 *
 * Copyright (c) 2016 Marek Vasut <marex@denx.de>
 */

#include <asm-offsets.h>
#include <config.h>
#include <asm/system.h>
#include <linux/linkage.h>

ENTRY(save_boot_params)
	ldr	r0, =bootrom_stash
	str	r4, [r0, #0]
	b	save_boot_params_ret
ENDPROC(save_boot_params)