1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Atmel SAMA5Dx boot parameter handling
4 *
5 * Copyright (c) 2016 Marek Vasut <marex@denx.de>
6 */
7
8#include <asm-offsets.h>
9#include <config.h>
10#include <asm/system.h>
11#include <linux/linkage.h>
12
13ENTRY(save_boot_params)
14	ldr	r0, =bootrom_stash
15	str	r4, [r0, #0]
16	b	save_boot_params_ret
17ENDPROC(save_boot_params)
18