[mcs814x] make hardware.h a forward inclusion of mcs814x.h
[openwrt/svn-archive/archive.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / include / mach / debug-macro.S
1 #include <mach/mcs814x.h>
2
3 .macro addruart, rp, rv, tmp
4 ldr \rp, =_PHYS_CONFADDR
5 ldr \rv, =_VIRT_CONFADDR
6 orr \rp, \rp, #_CONFOFFSET_UART
7 orr \rv, \rv, #_CONFOFFSET_UART
8 .endm
9
10 #define UART_SHIFT 2
11 #include <asm/hardware/debug-8250.S>