omap: hwmod: Handle modules with 16bit registers
authorRajendra Nayak <rnayak@ti.com>
Fri, 8 Oct 2010 17:23:22 +0000 (10:23 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:23:22 +0000 (10:23 -0700)
commitcc7a1d2a540a780066aa562c651a88dd28b6fc8a
treebd9fba3d4d4ccb2a0277b383c190d1c898440961
parentc710e19222794f45f2376ba6f00dc675dc4279d6
omap: hwmod: Handle modules with 16bit registers

Some modules which have 16bit registers can cause imprecise
aborts if a __raw_readl/writel is used to read/write 32 bits.

Add an additional flag to identify modules which have such
hard requirement, and handle it in the hwmod framework.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h