projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b3280
)
ARM: OMAP5: gpmc: Update gpmc_init()
author
R Sricharan
<r.sricharan@ti.com>
Thu, 19 Apr 2012 12:33:02 +0000
(18:03 +0530)
committer
Santosh Shilimkar
<santosh.shilimkar@ti.com>
Mon, 9 Jul 2012 13:44:39 +0000
(19:14 +0530)
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>
arch/arm/mach-omap2/gpmc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/gpmc.c
b/arch/arm/mach-omap2/gpmc.c
index 2286410671e7e6ecded10796c3d268ea92863b8c..b2b5759ab0fec1ce1cb2641752ac14294ff25bf6 100644
(file)
--- a/
arch/arm/mach-omap2/gpmc.c
+++ b/
arch/arm/mach-omap2/gpmc.c
@@
-727,7
+727,8
@@
static int __init gpmc_init(void)
ck = "gpmc_fck";
l = OMAP34XX_GPMC_BASE;
gpmc_irq = INT_34XX_GPMC_IRQ;
- } else if (cpu_is_omap44xx()) {
+ } else if (cpu_is_omap44xx() || soc_is_omap54xx()) {
+ /* Base address and irq number are same for OMAP4/5 */
ck = "gpmc_ck";
l = OMAP44XX_GPMC_BASE;
gpmc_irq = OMAP44XX_IRQ_GPMC;