xref: /openbmc/linux/arch/arm/mach-rpc/fiq.S (revision c1fe8d05)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/linkage.h>
3#include <asm/assembler.h>
4#include <mach/hardware.h>
5
6	.equ	ioc_base_high, IOC_BASE & 0xff000000
7	.equ	ioc_base_low, IOC_BASE & 0x00ff0000
8
9	.text
10	.global	rpc_default_fiq_end
11ENTRY(rpc_default_fiq_start)
12	mov	r12, #ioc_base_high
13	.if	ioc_base_low
14	orr	r12, r12, #ioc_base_low
15	.endif
16	strb	r12, [r12, #0x38]	@ Disable FIQ register
17	subs	pc, lr, #4
18rpc_default_fiq_end:
19