summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rpc/fiq.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rpc/fiq.S')
-rw-r--r--arch/arm/mach-rpc/fiq.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-rpc/fiq.S b/arch/arm/mach-rpc/fiq.S
new file mode 100644
index 000000000..0de83e9b0
--- /dev/null
+++ b/arch/arm/mach-rpc/fiq.S
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <mach/hardware.h>
+#include <mach/entry-macro.S>
+
+ .text
+
+ .global rpc_default_fiq_end
+ENTRY(rpc_default_fiq_start)
+ mov r12, #ioc_base_high
+ .if ioc_base_low
+ orr r12, r12, #ioc_base_low
+ .endif
+ strb r12, [r12, #0x38] @ Disable FIQ register
+ subs pc, lr, #4
+rpc_default_fiq_end: