[PATCH] Use MMIO clocksource for 32kHz counter
From: Russell King - ARM Linux <hidden>
Date: 2011-07-10 14:15:37
Also in:
linux-omap
From: Russell King - ARM Linux <hidden>
Date: 2011-07-10 14:15:37
Also in:
linux-omap
On Mon, Jun 27, 2011 at 12:11:02PM -0700, Tony Lindgren wrote:
* Tony Lindgren [off-list ref] [110627 05:33]:quoted
* Russell King - ARM Linux [off-list ref] [110627 05:28]:quoted
--- a/arch/arm/plat-omap/counter_32k.c +++ b/arch/arm/plat-omap/counter_32k.c +#ifdef CONFIG_ARCH_OMAP16XX + else if (cpu_is_omap16xx()) + base = OMAP2_L4_IO_ADDRESS(OMAP16XX_TIMER_32K_SYNCHRONIZED);BTW, the above should have been OMAP1_IO_ADDRESS instead..quoted
You should be able to replace the above with just ioremap as we now have the static mappings...here's a patch to use ioremap with comment added about the static mapping requirements. Thanks for getting rid of hopefully the last remaining omap_readl for omap2+ BTW :)
What're we doing with this patch and your follow-up patch?