summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/bootparams_atmel.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/bootparams_atmel.S')
-rw-r--r--arch/arm/mach-at91/bootparams_atmel.S18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/bootparams_atmel.S b/arch/arm/mach-at91/bootparams_atmel.S
new file mode 100644
index 0000000000..568094b99c
--- /dev/null
+++ b/arch/arm/mach-at91/bootparams_atmel.S
@@ -0,0 +1,18 @@
+/*
+ * Atmel SAMA5Dx boot parameter handling
+ *
+ * Copyright (c) 2016 Marek Vasut <marex@denx.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <asm-offsets.h>
+#include <config.h>
+#include <asm/system.h>
+#include <linux/linkage.h>
+
+ENTRY(save_boot_params)
+ ldr r0, =bootrom_stash
+ str r4, [r0, #0]
+ b save_boot_params_ret
+ENDPROC(save_boot_params)
OpenPOWER on IntegriCloud