OMAP: omap_hwmod: call omap_hwmod init at boot; create interconnects

Connect the omap_hwmod code to the kernel boot.  Create some basic
interconnect and device structures for OMAP2/3 chips.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
Paul Walmsley
2009-09-03 20:14:05 +03:00
committed by paul
parent 63c8523841
commit 02bfc030e4
5 changed files with 469 additions and 3 deletions

View File

@@ -765,8 +765,7 @@ static int _reset(struct omap_hwmod *oh)
WARN(1, "omap_hwmod: %s: failed to reset in %d usec\n",
oh->name, MAX_MODULE_RESET_WAIT);
else
pr_debug("omap_hwmod: %s: reset in %d usec\n", oh->name,
MAX_MODULE_RESET_WAIT);
pr_debug("omap_hwmod: %s: reset in %d usec\n", oh->name, c);
/*
* XXX add _HWMOD_STATE_WEDGED for modules that don't come back from