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