diff options
Diffstat (limited to 'arch/arm/mach-gemini')
-rw-r--r-- | arch/arm/mach-gemini/board-nas4220b.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-rut1xx.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-wbd111.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/board-wbd222.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/include/mach/debug-macro.S | 8 |
5 files changed, 3 insertions, 13 deletions
diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c index 01f1d6daab44..2ba096de0034 100644 --- a/arch/arm/mach-gemini/board-nas4220b.c +++ b/arch/arm/mach-gemini/board-nas4220b.c | |||
@@ -101,8 +101,6 @@ static void __init ib4220b_init(void) | |||
101 | } | 101 | } |
102 | 102 | ||
103 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") | 103 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") |
104 | .phys_io = 0x7fffc000, | ||
105 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
106 | .boot_params = 0x100, | 104 | .boot_params = 0x100, |
107 | .map_io = gemini_map_io, | 105 | .map_io = gemini_map_io, |
108 | .init_irq = gemini_init_irq, | 106 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-rut1xx.c b/arch/arm/mach-gemini/board-rut1xx.c index e0de968e32a6..a9a0d8b01942 100644 --- a/arch/arm/mach-gemini/board-rut1xx.c +++ b/arch/arm/mach-gemini/board-rut1xx.c | |||
@@ -85,8 +85,6 @@ static void __init rut1xx_init(void) | |||
85 | } | 85 | } |
86 | 86 | ||
87 | MACHINE_START(RUT100, "Teltonika RUT100") | 87 | MACHINE_START(RUT100, "Teltonika RUT100") |
88 | .phys_io = 0x7fffc000, | ||
89 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
90 | .boot_params = 0x100, | 88 | .boot_params = 0x100, |
91 | .map_io = gemini_map_io, | 89 | .map_io = gemini_map_io, |
92 | .init_irq = gemini_init_irq, | 90 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c index 36538c15b3c4..8b88d50d4337 100644 --- a/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c | |||
@@ -133,8 +133,6 @@ static void __init wbd111_init(void) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | MACHINE_START(WBD111, "Wiliboard WBD-111") | 135 | MACHINE_START(WBD111, "Wiliboard WBD-111") |
136 | .phys_io = 0x7fffc000, | ||
137 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
138 | .boot_params = 0x100, | 136 | .boot_params = 0x100, |
139 | .map_io = gemini_map_io, | 137 | .map_io = gemini_map_io, |
140 | .init_irq = gemini_init_irq, | 138 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c index ece8b4c65110..1eebcecd1c33 100644 --- a/arch/arm/mach-gemini/board-wbd222.c +++ b/arch/arm/mach-gemini/board-wbd222.c | |||
@@ -133,8 +133,6 @@ static void __init wbd222_init(void) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | MACHINE_START(WBD222, "Wiliboard WBD-222") | 135 | MACHINE_START(WBD222, "Wiliboard WBD-222") |
136 | .phys_io = 0x7fffc000, | ||
137 | .io_pg_offst = ((0xffffc000) >> 18) & 0xfffc, | ||
138 | .boot_params = 0x100, | 136 | .boot_params = 0x100, |
139 | .map_io = gemini_map_io, | 137 | .map_io = gemini_map_io, |
140 | .init_irq = gemini_init_irq, | 138 | .init_irq = gemini_init_irq, |
diff --git a/arch/arm/mach-gemini/include/mach/debug-macro.S b/arch/arm/mach-gemini/include/mach/debug-macro.S index ad477047069d..f40e006d296e 100644 --- a/arch/arm/mach-gemini/include/mach/debug-macro.S +++ b/arch/arm/mach-gemini/include/mach/debug-macro.S | |||
@@ -11,11 +11,9 @@ | |||
11 | */ | 11 | */ |
12 | #include <mach/hardware.h> | 12 | #include <mach/hardware.h> |
13 | 13 | ||
14 | .macro addruart, rx, tmp | 14 | .macro addruart, rp, rv |
15 | mrc p15, 0, \rx, c1, c0 | 15 | ldr \rp, =GEMINI_UART_BASE @ physical |
16 | tst \rx, #1 @ MMU enabled? | 16 | ldr \rv, =IO_ADDRESS(GEMINI_UART_BASE) @ virtual |
17 | ldreq \rx, =GEMINI_UART_BASE @ physical | ||
18 | ldrne \rx, =IO_ADDRESS(GEMINI_UART_BASE) @ virtual | ||
19 | .endm | 17 | .endm |
20 | 18 | ||
21 | #define UART_SHIFT 2 | 19 | #define UART_SHIFT 2 |