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