[PATCH 05/13] TEMP: ARM: OMAP5: Update the base address of the 32k-counter.

R Sricharan r.sricharan at ti.com
Thu May 3 03:26:14 EDT 2012


Not for merge.

Just update the base address of the counter for
OMAP5 soc.

This patch will no longer be needed after rebasing on top of below
series from Vaibhav Hiremath <hvaibhav at ti.com>.

http://www.mail-archive.com/linux-omap@vger.kernel.org/msg67166.html

Signed-off-by: R Sricharan <r.sricharan at ti.com>
---
 arch/arm/plat-omap/counter_32k.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/counter_32k.c b/arch/arm/plat-omap/counter_32k.c
index 5068fe5..5a48ec9 100644
--- a/arch/arm/plat-omap/counter_32k.c
+++ b/arch/arm/plat-omap/counter_32k.c
@@ -90,6 +90,8 @@ int __init omap_init_clocksource_32k(void)
 			pbase = OMAP3430_32KSYNCT_BASE + 0x10;
 		else if (cpu_is_omap44xx())
 			pbase = OMAP4430_32KSYNCT_BASE + 0x10;
+		else if (cpu_is_omap54xx())
+			pbase = OMAP54XX_32KSYNCT_BASE + 0x30;
 		else
 			return -ENODEV;
 
-- 
1.7.1




More information about the linux-arm-kernel mailing list