spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-rpc / include / mach / entry-macro.S
blob4e7e541440934a81bcd68ee0822370c96be105db
1 #include <mach/hardware.h>
2 #include <asm/hardware/entry-macro-iomd.S>
4         .equ    ioc_base_high, IOC_BASE & 0xff000000
5         .equ    ioc_base_low, IOC_BASE & 0x00ff0000
7         .macro  get_irqnr_preamble, base, tmp
8         mov     \base, #ioc_base_high           @ point at IOC
9         .if     ioc_base_low
10         orr     \base, \base, #ioc_base_low
11         .endif
12         .endm
14         .macro  arch_ret_to_user, tmp1, tmp2
15         .endm