aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/spear300.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-spear3xx/spear300.c')
-rw-r--r--arch/arm/mach-spear3xx/spear300.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-spear3xx/spear300.c b/arch/arm/mach-spear3xx/spear300.c
index 23d2a1457d7e..2697e65adf86 100644
--- a/arch/arm/mach-spear3xx/spear300.c
+++ b/arch/arm/mach-spear3xx/spear300.c
@@ -437,7 +437,7 @@ struct amba_device gpio1_device = {
437 }, 437 },
438 .res = { 438 .res = {
439 .start = SPEAR300_GPIO_BASE, 439 .start = SPEAR300_GPIO_BASE,
440 .end = SPEAR300_GPIO_BASE + SPEAR300_GPIO_SIZE - 1, 440 .end = SPEAR300_GPIO_BASE + SZ_4K - 1,
441 .flags = IORESOURCE_MEM, 441 .flags = IORESOURCE_MEM,
442 }, 442 },
443 .irq = {VIRQ_GPIO1, NO_IRQ}, 443 .irq = {VIRQ_GPIO1, NO_IRQ},
@@ -452,8 +452,7 @@ void __init spear300_init(void)
452 spear3xx_init(); 452 spear3xx_init();
453 453
454 /* shared irq registration */ 454 /* shared irq registration */
455 shirq_ras1.regs.base = 455 shirq_ras1.regs.base = ioremap(SPEAR300_TELECOM_BASE, SZ_4K);
456 ioremap(SPEAR300_TELECOM_BASE, SPEAR300_TELECOM_REG_SIZE);
457 if (shirq_ras1.regs.base) { 456 if (shirq_ras1.regs.base) {
458 ret = spear_shirq_register(&shirq_ras1); 457 ret = spear_shirq_register(&shirq_ras1);
459 if (ret) 458 if (ret)
@@ -461,8 +460,7 @@ void __init spear300_init(void)
461 } 460 }
462 461
463 /* pmx initialization */ 462 /* pmx initialization */
464 pmx_driver.base = ioremap(SPEAR300_SOC_CONFIG_BASE, 463 pmx_driver.base = ioremap(SPEAR300_SOC_CONFIG_BASE, SZ_4K);
465 SPEAR300_SOC_CONFIG_SIZE);
466 if (pmx_driver.base) { 464 if (pmx_driver.base) {
467 ret = pmx_register(&pmx_driver); 465 ret = pmx_register(&pmx_driver);
468 if (ret) 466 if (ret)