diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2008-12-08 09:58:07 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-12-17 09:51:38 -0500 |
commit | bab16dfc9b527bbf7b06cb7d1e8e4011649b0f50 (patch) | |
tree | d6015f33db54b579ecfbfbc91c803df266fad923 /arch | |
parent | 3332b0c17969d91d8868d2d003e685c420d84262 (diff) |
[ARM] pxa/ezx: Remove two memory banks fixup
Our bootloader now supports ATAGS_MEM
Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/ezx.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c index a3084125aee7..d794aba63bb5 100644 --- a/arch/arm/mach-pxa/ezx.c +++ b/arch/arm/mach-pxa/ezx.c | |||
@@ -130,26 +130,10 @@ static void __init ezx_init(void) | |||
130 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 130 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
131 | } | 131 | } |
132 | 132 | ||
133 | static void __init ezx_fixup(struct machine_desc *desc, struct tag *tags, | ||
134 | char **cmdline, struct meminfo *mi) | ||
135 | { | ||
136 | /* We have two ram chips. First one with 32MB at 0xA0000000 and a second | ||
137 | * 16MB one at 0xAC000000 | ||
138 | */ | ||
139 | mi->nr_banks = 2; | ||
140 | mi->bank[0].start = 0xa0000000; | ||
141 | mi->bank[0].node = 0; | ||
142 | mi->bank[0].size = (32*1024*1024); | ||
143 | mi->bank[1].start = 0xac000000; | ||
144 | mi->bank[1].node = 1; | ||
145 | mi->bank[1].size = (16*1024*1024); | ||
146 | } | ||
147 | |||
148 | #ifdef CONFIG_MACH_EZX_A780 | 133 | #ifdef CONFIG_MACH_EZX_A780 |
149 | MACHINE_START(EZX_A780, "Motorola EZX A780") | 134 | MACHINE_START(EZX_A780, "Motorola EZX A780") |
150 | .phys_io = 0x40000000, | 135 | .phys_io = 0x40000000, |
151 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 136 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
152 | .fixup = ezx_fixup, | ||
153 | .boot_params = 0xa0000100, | 137 | .boot_params = 0xa0000100, |
154 | .map_io = pxa_map_io, | 138 | .map_io = pxa_map_io, |
155 | .init_irq = pxa27x_init_irq, | 139 | .init_irq = pxa27x_init_irq, |
@@ -162,7 +146,6 @@ MACHINE_END | |||
162 | MACHINE_START(EZX_E680, "Motorola EZX E680") | 146 | MACHINE_START(EZX_E680, "Motorola EZX E680") |
163 | .phys_io = 0x40000000, | 147 | .phys_io = 0x40000000, |
164 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 148 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
165 | .fixup = ezx_fixup, | ||
166 | .boot_params = 0xa0000100, | 149 | .boot_params = 0xa0000100, |
167 | .map_io = pxa_map_io, | 150 | .map_io = pxa_map_io, |
168 | .init_irq = pxa27x_init_irq, | 151 | .init_irq = pxa27x_init_irq, |
@@ -175,7 +158,6 @@ MACHINE_END | |||
175 | MACHINE_START(EZX_A1200, "Motorola EZX A1200") | 158 | MACHINE_START(EZX_A1200, "Motorola EZX A1200") |
176 | .phys_io = 0x40000000, | 159 | .phys_io = 0x40000000, |
177 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 160 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
178 | .fixup = ezx_fixup, | ||
179 | .boot_params = 0xa0000100, | 161 | .boot_params = 0xa0000100, |
180 | .map_io = pxa_map_io, | 162 | .map_io = pxa_map_io, |
181 | .init_irq = pxa27x_init_irq, | 163 | .init_irq = pxa27x_init_irq, |
@@ -188,7 +170,6 @@ MACHINE_END | |||
188 | MACHINE_START(EZX_A910, "Motorola EZX A910") | 170 | MACHINE_START(EZX_A910, "Motorola EZX A910") |
189 | .phys_io = 0x40000000, | 171 | .phys_io = 0x40000000, |
190 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 172 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
191 | .fixup = ezx_fixup, | ||
192 | .boot_params = 0xa0000100, | 173 | .boot_params = 0xa0000100, |
193 | .map_io = pxa_map_io, | 174 | .map_io = pxa_map_io, |
194 | .init_irq = pxa27x_init_irq, | 175 | .init_irq = pxa27x_init_irq, |
@@ -201,7 +182,6 @@ MACHINE_END | |||
201 | MACHINE_START(EZX_E6, "Motorola EZX E6") | 182 | MACHINE_START(EZX_E6, "Motorola EZX E6") |
202 | .phys_io = 0x40000000, | 183 | .phys_io = 0x40000000, |
203 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 184 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
204 | .fixup = ezx_fixup, | ||
205 | .boot_params = 0xa0000100, | 185 | .boot_params = 0xa0000100, |
206 | .map_io = pxa_map_io, | 186 | .map_io = pxa_map_io, |
207 | .init_irq = pxa27x_init_irq, | 187 | .init_irq = pxa27x_init_irq, |
@@ -214,7 +194,6 @@ MACHINE_END | |||
214 | MACHINE_START(EZX_E2, "Motorola EZX E2") | 194 | MACHINE_START(EZX_E2, "Motorola EZX E2") |
215 | .phys_io = 0x40000000, | 195 | .phys_io = 0x40000000, |
216 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 196 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
217 | .fixup = ezx_fixup, | ||
218 | .boot_params = 0xa0000100, | 197 | .boot_params = 0xa0000100, |
219 | .map_io = pxa_map_io, | 198 | .map_io = pxa_map_io, |
220 | .init_irq = pxa27x_init_irq, | 199 | .init_irq = pxa27x_init_irq, |