Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Stephen Warren | c5f510f | 2016-07-18 17:01:51 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Save nvtboot-related boot-time CPU state |
| 4 | * |
| 5 | * (C) Copyright 2015-2016 NVIDIA Corporation <www.nvidia.com> |
Stephen Warren | c5f510f | 2016-07-18 17:01:51 -0600 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <config.h> |
| 9 | #include <linux/linkage.h> |
| 10 | |
Stephen Warren | 21d6ea6 | 2016-10-19 15:18:44 -0600 | [diff] [blame] | 11 | .align 8 |
Stephen Warren | c5f510f | 2016-07-18 17:01:51 -0600 | [diff] [blame] | 12 | .globl nvtboot_boot_x0 |
| 13 | nvtboot_boot_x0: |
| 14 | .dword 0 |
| 15 | |
| 16 | ENTRY(save_boot_params) |
| 17 | adr x8, nvtboot_boot_x0 |
| 18 | str x0, [x8] |
| 19 | b save_boot_params_ret |
| 20 | ENDPROC(save_boot_params) |