ARM: OMAP2+: CM: prepare for use of cm_ll_data function pointers
authorPaul Walmsley <paul@pwsan.com>
Sun, 21 Oct 2012 07:01:12 +0000 (01:01 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 21 Oct 2012 07:01:12 +0000 (01:01 -0600)
commit21325b25f4d81c5fcffd55afb6c81cc873ee8b0a
tree313ae5c07d618b5cafcf1ec66fbed2228bb1e44b
parente24c35737413c8626f9c4e8f47e33926b7ab7f23
ARM: OMAP2+: CM: prepare for use of cm_ll_data function pointers

There are several CM operations which behave similarly across OMAP2+
SoCs, but which have slight differences in their underlying
implementations.

This patch creates the support code for this function pointer
registration process.  No function pointers are included yet, but a
subsequent patch will create these for the module IDLEST registers.

This patch allows other code to use CM-provided data and operations
without needing to know which SoC is currently in use.  A further
description of the concept is provided in the patch entitled
"ARM: OMAP2+: PRM: prepare for use of prm_ll_data function pointers".

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/cm_common.c [new file with mode: 0644]