blob: 45cd7a9f34a5cdaea8476ecbc6981a8fd87febc7 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutbb0c63a2016-04-22 21:56:21 +02002/*
3 * Atmel SAMA5Dx boot parameter handling
4 *
5 * Copyright (c) 2016 Marek Vasut <marex@denx.de>
Marek Vasutbb0c63a2016-04-22 21:56:21 +02006 */
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)