Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | bb0c63a | 2016-04-22 21:56:21 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Atmel SAMA5Dx boot parameter handling |
| 4 | * |
| 5 | * Copyright (c) 2016 Marek Vasut <marex@denx.de> |
Marek Vasut | bb0c63a | 2016-04-22 21:56:21 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <asm-offsets.h> |
| 9 | #include <config.h> |
| 10 | #include <asm/system.h> |
| 11 | #include <linux/linkage.h> |
| 12 | |
| 13 | ENTRY(save_boot_params) |
| 14 | ldr r0, =bootrom_stash |
| 15 | str r4, [r0, #0] |
| 16 | b save_boot_params_ret |
| 17 | ENDPROC(save_boot_params) |