Marek Vasut | 4d88f1c | 2016-04-22 21:56:21 +0200 | [diff] [blame] | 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 | |||||
14 | ENTRY(save_boot_params) | ||||
15 | ldr r0, =bootrom_stash | ||||
16 | str r4, [r0, #0] | ||||
17 | b save_boot_params_ret | ||||
18 | ENDPROC(save_boot_params) |