OMAP2+: hwmod: add ability to setup individual hwmods
authorPaul Walmsley <paul@pwsan.com>
Wed, 23 Feb 2011 07:14:07 +0000 (00:14 -0700)
committerPaul Walmsley <paul@pwsan.com>
Mon, 28 Feb 2011 20:55:08 +0000 (13:55 -0700)
commita2debdbd1ad896a410019c9cf30785cad15930fc
tree5740540fbecde6a9f3efe4accee6c0eb3c38c350
parent48d54f3fd20b435311f295b3bca3570096a2ac83
OMAP2+: hwmod: add ability to setup individual hwmods

Add omap_hwmod_setup_one(), which is intended for use early in boot to
selectively setup the hwmods needed for system clocksources and
clockevents, and any other hwmod that is needed in early boot.
omap_hwmod_setup_all() can then be called later in the boot process.
The point is to minimize the amount of code that needs to be run
early.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/plat-omap/include/plat/omap_hwmod.h