provide an early ioremap cookie of the system configuration register
[openwrt/staging/wigyori.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / include / mach / debug-macro.S
index 5c6d373ae707c414701aff024a71951af4d73bcd..93ecea4ed265e915d65ab061a2ccf3a9917daa42 100644 (file)
@@ -1,10 +1,10 @@
 #include <mach/mcs814x.h>
 
                 .macro  addruart, rp, rv, tmp
-               ldr     \rp, =_PHYS_CONFADDR
-               ldr     \rv, =_VIRT_CONFADDR
-               orr     \rp, \rp, #_CONFOFFSET_UART
-               orr     \rv, \rv, #_CONFOFFSET_UART
+               ldr     \rp, =MCS814X_PHYS_BASE
+               ldr     \rv, =MCS814X_VIRT_BASE
+               orr     \rp, \rp, #MCS814X_UART
+               orr     \rv, \rv, #MCS814X_UART
                 .endm
 
 #define UART_SHIFT     2