Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
a09e64fb | 2 | #include <mach/hardware.h> |
1da177e4 | 3 | #include <asm/hardware/entry-macro-iomd.S> |
641e7912 RK |
4 | |
5 | .equ ioc_base_high, IOC_BASE & 0xff000000 | |
6 | .equ ioc_base_low, IOC_BASE & 0x00ff0000 | |
7 | ||
f80dff9d | 8 | .macro get_irqnr_preamble, base, tmp |
641e7912 RK |
9 | mov \base, #ioc_base_high @ point at IOC |
10 | .if ioc_base_low | |
11 | orr \base, \base, #ioc_base_low | |
12 | .endif | |
f80dff9d | 13 | .endm |