summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cboot_ll.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/cboot_ll.S')
-rw-r--r--arch/arm/mach-tegra/cboot_ll.S20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cboot_ll.S b/arch/arm/mach-tegra/cboot_ll.S
new file mode 100644
index 00000000000..4c9ddacc2b3
--- /dev/null
+++ b/arch/arm/mach-tegra/cboot_ll.S
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Save cboot-related boot-time CPU state
+ *
+ * (C) Copyright 2015-2016 NVIDIA Corporation <www.nvidia.com>
+ */
+
+#include <config.h>
+#include <linux/linkage.h>
+
+.align 8
+.globl cboot_boot_x0
+cboot_boot_x0:
+ .dword 0
+
+ENTRY(cboot_save_boot_params)
+ adr x8, cboot_boot_x0
+ str x0, [x8]
+ b save_boot_params_ret
+ENDPROC(cboot_save_boot_params)