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 | 2 | ||||
-rw-r--r-- | arch/arm/mach-gemini/include/mach/memory.h | 19 |
6 files changed, 5 insertions, 24 deletions
diff --git a/arch/arm/mach-gemini/board-nas4220b.c b/arch/arm/mach-gemini/board-nas4220b.c index 0cf7a07c3f3f..5927d3c253aa 100644 --- a/arch/arm/mach-gemini/board-nas4220b.c +++ b/arch/arm/mach-gemini/board-nas4220b.c | |||
@@ -102,7 +102,7 @@ static void __init ib4220b_init(void) | |||
102 | } | 102 | } |
103 | 103 | ||
104 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") | 104 | MACHINE_START(NAS4220B, "Raidsonic NAS IB-4220-B") |
105 | .boot_params = 0x100, | 105 | .atag_offset = 0x100, |
106 | .map_io = gemini_map_io, | 106 | .map_io = gemini_map_io, |
107 | .init_irq = gemini_init_irq, | 107 | .init_irq = gemini_init_irq, |
108 | .timer = &ib4220b_timer, | 108 | .timer = &ib4220b_timer, |
diff --git a/arch/arm/mach-gemini/board-rut1xx.c b/arch/arm/mach-gemini/board-rut1xx.c index 4fa09af99495..cd7437a1cea0 100644 --- a/arch/arm/mach-gemini/board-rut1xx.c +++ b/arch/arm/mach-gemini/board-rut1xx.c | |||
@@ -86,7 +86,7 @@ static void __init rut1xx_init(void) | |||
86 | } | 86 | } |
87 | 87 | ||
88 | MACHINE_START(RUT100, "Teltonika RUT100") | 88 | MACHINE_START(RUT100, "Teltonika RUT100") |
89 | .boot_params = 0x100, | 89 | .atag_offset = 0x100, |
90 | .map_io = gemini_map_io, | 90 | .map_io = gemini_map_io, |
91 | .init_irq = gemini_init_irq, | 91 | .init_irq = gemini_init_irq, |
92 | .timer = &rut1xx_timer, | 92 | .timer = &rut1xx_timer, |
diff --git a/arch/arm/mach-gemini/board-wbd111.c b/arch/arm/mach-gemini/board-wbd111.c index 88cc422ee444..a367880368f1 100644 --- a/arch/arm/mach-gemini/board-wbd111.c +++ b/arch/arm/mach-gemini/board-wbd111.c | |||
@@ -129,7 +129,7 @@ static void __init wbd111_init(void) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | MACHINE_START(WBD111, "Wiliboard WBD-111") | 131 | MACHINE_START(WBD111, "Wiliboard WBD-111") |
132 | .boot_params = 0x100, | 132 | .atag_offset = 0x100, |
133 | .map_io = gemini_map_io, | 133 | .map_io = gemini_map_io, |
134 | .init_irq = gemini_init_irq, | 134 | .init_irq = gemini_init_irq, |
135 | .timer = &wbd111_timer, | 135 | .timer = &wbd111_timer, |
diff --git a/arch/arm/mach-gemini/board-wbd222.c b/arch/arm/mach-gemini/board-wbd222.c index 3a220347bc88..f382811c1319 100644 --- a/arch/arm/mach-gemini/board-wbd222.c +++ b/arch/arm/mach-gemini/board-wbd222.c | |||
@@ -129,7 +129,7 @@ static void __init wbd222_init(void) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | MACHINE_START(WBD222, "Wiliboard WBD-222") | 131 | MACHINE_START(WBD222, "Wiliboard WBD-222") |
132 | .boot_params = 0x100, | 132 | .atag_offset = 0x100, |
133 | .map_io = gemini_map_io, | 133 | .map_io = gemini_map_io, |
134 | .init_irq = gemini_init_irq, | 134 | .init_irq = gemini_init_irq, |
135 | .timer = &wbd222_timer, | 135 | .timer = &wbd222_timer, |
diff --git a/arch/arm/mach-gemini/include/mach/debug-macro.S b/arch/arm/mach-gemini/include/mach/debug-macro.S index f40e006d296e..837670763b85 100644 --- a/arch/arm/mach-gemini/include/mach/debug-macro.S +++ b/arch/arm/mach-gemini/include/mach/debug-macro.S | |||
@@ -11,7 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | #include <mach/hardware.h> | 12 | #include <mach/hardware.h> |
13 | 13 | ||
14 | .macro addruart, rp, rv | 14 | .macro addruart, rp, rv, tmp |
15 | ldr \rp, =GEMINI_UART_BASE @ physical | 15 | ldr \rp, =GEMINI_UART_BASE @ physical |
16 | ldr \rv, =IO_ADDRESS(GEMINI_UART_BASE) @ virtual | 16 | ldr \rv, =IO_ADDRESS(GEMINI_UART_BASE) @ virtual |
17 | .endm | 17 | .endm |
diff --git a/arch/arm/mach-gemini/include/mach/memory.h b/arch/arm/mach-gemini/include/mach/memory.h deleted file mode 100644 index a50915f764d8..000000000000 --- a/arch/arm/mach-gemini/include/mach/memory.h +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2001-2006 Storlink, Corp. | ||
3 | * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | */ | ||
10 | #ifndef __MACH_MEMORY_H | ||
11 | #define __MACH_MEMORY_H | ||
12 | |||
13 | #ifdef CONFIG_GEMINI_MEM_SWAP | ||
14 | # define PLAT_PHYS_OFFSET UL(0x00000000) | ||
15 | #else | ||
16 | # define PLAT_PHYS_OFFSET UL(0x10000000) | ||
17 | #endif | ||
18 | |||
19 | #endif /* __MACH_MEMORY_H */ | ||