diff options
author | R Sricharan <r.sricharan@ti.com> | 2012-04-19 08:33:02 -0400 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2012-07-09 09:44:39 -0400 |
commit | 1a5da219a4726dbddb189ac18bc246d51b04c972 (patch) | |
tree | 17cb7054442770510e5b609faa0b1cd2b25aac32 /arch | |
parent | 37b3280de2a7a3feb75e939cadd988d082984566 (diff) |
ARM: OMAP5: gpmc: Update gpmc_init()
GPMC module is the same as in OMAP4.
Just update the base address and irq number.
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 2286410671e7..b2b5759ab0fe 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -727,7 +727,8 @@ static int __init gpmc_init(void) | |||
727 | ck = "gpmc_fck"; | 727 | ck = "gpmc_fck"; |
728 | l = OMAP34XX_GPMC_BASE; | 728 | l = OMAP34XX_GPMC_BASE; |
729 | gpmc_irq = INT_34XX_GPMC_IRQ; | 729 | gpmc_irq = INT_34XX_GPMC_IRQ; |
730 | } else if (cpu_is_omap44xx()) { | 730 | } else if (cpu_is_omap44xx() || soc_is_omap54xx()) { |
731 | /* Base address and irq number are same for OMAP4/5 */ | ||
731 | ck = "gpmc_ck"; | 732 | ck = "gpmc_ck"; |
732 | l = OMAP44XX_GPMC_BASE; | 733 | l = OMAP44XX_GPMC_BASE; |
733 | gpmc_irq = OMAP44XX_IRQ_GPMC; | 734 | gpmc_irq = OMAP44XX_IRQ_GPMC; |