PM: Add SMP support to the Power Management code
authorJuan Gutierrez <jgutierrez@ti.com>
Tue, 27 Mar 2012 23:28:16 +0000 (17:28 -0600)
committerSuman Anna <s-anna@ti.com>
Mon, 7 May 2012 02:09:42 +0000 (21:09 -0500)
commitf2865504e938cd6ad91f2ce53332aee17bb93968
tree01b1938d3bfe5353b098d9934d6974389b98a14f
parent8befb7dd1aed3483c6ad763129f62a274185d32c
PM: Add SMP support to the Power Management code

The SMP support is added to the core PM module for IPU,
IpcPower. The Power Management functionality is adjusted
for the lack of two independent processor cores in the
IPU. The simultaneous support for non-SMP and SMP modes
are provided through a compiler preprocessor macro.

Libraries for SMP and non-SMP mode are built simultaneously
during build time, and the appropriate library is picked up
during the linking stage in the final executable based on
the platform name.

Signed-off-by: Paul Hunt <hunt@ti.com>
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
src/ti/pm/IpcPower.c
src/ti/pm/package.bld
src/ti/pm/package.xs