diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-03 12:38:58 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-03 12:38:58 -0400 |
commit | e9dea0c65d2de6981356c055781fb99d7191b14e (patch) | |
tree | 106e6302238f561e679e479584095d49fe5c66fd /arch/arm/mach-integrator | |
parent | 1d6bebf2ecf92924492c491d9c3a72edba95f907 (diff) |
[PATCH] ARM: Remove machine description macros
Remove the pointless machine description macros, favouring C99
initialisers instead.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator')
-rw-r--r-- | arch/arm/mach-integrator/integrator_ap.c | 14 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 14 |
2 files changed, 16 insertions, 12 deletions
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 91ba9fd79c87..36e2b6eb67b7 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -292,11 +292,13 @@ static struct sys_timer ap_timer = { | |||
292 | }; | 292 | }; |
293 | 293 | ||
294 | MACHINE_START(INTEGRATOR, "ARM-Integrator") | 294 | MACHINE_START(INTEGRATOR, "ARM-Integrator") |
295 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 295 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
296 | BOOT_MEM(0x00000000, 0x16000000, 0xf1600000) | 296 | .phys_ram = 0x00000000, |
297 | BOOT_PARAMS(0x00000100) | 297 | .phys_io = 0x16000000, |
298 | MAPIO(ap_map_io) | 298 | .io_pg_offst = ((0xf1600000) >> 18) & 0xfffc, |
299 | INITIRQ(ap_init_irq) | 299 | .boot_params = 0x00000100, |
300 | .map_io = ap_map_io, | ||
301 | .init_irq = ap_init_irq, | ||
300 | .timer = &ap_timer, | 302 | .timer = &ap_timer, |
301 | INIT_MACHINE(ap_init) | 303 | .init_machine = ap_init, |
302 | MACHINE_END | 304 | MACHINE_END |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index e0a01eef0993..569f328c479d 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -532,11 +532,13 @@ static struct sys_timer cp_timer = { | |||
532 | }; | 532 | }; |
533 | 533 | ||
534 | MACHINE_START(CINTEGRATOR, "ARM-IntegratorCP") | 534 | MACHINE_START(CINTEGRATOR, "ARM-IntegratorCP") |
535 | MAINTAINER("ARM Ltd/Deep Blue Solutions Ltd") | 535 | /* Maintainer: ARM Ltd/Deep Blue Solutions Ltd */ |
536 | BOOT_MEM(0x00000000, 0x16000000, 0xf1600000) | 536 | .phys_ram = 0x00000000, |
537 | BOOT_PARAMS(0x00000100) | 537 | .phys_io = 0x16000000, |
538 | MAPIO(intcp_map_io) | 538 | .io_pg_offst = ((0xf1600000) >> 18) & 0xfffc, |
539 | INITIRQ(intcp_init_irq) | 539 | .boot_params = 0x00000100, |
540 | .map_io = intcp_map_io, | ||
541 | .init_irq = intcp_init_irq, | ||
540 | .timer = &cp_timer, | 542 | .timer = &cp_timer, |
541 | INIT_MACHINE(intcp_init) | 543 | .init_machine = intcp_init, |
542 | MACHINE_END | 544 | MACHINE_END |