]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: 6359/1: ep93xx: move clock initialization earlier
authorMika Westerberg <mika.westerberg@iki.fi>
Fri, 3 Sep 2010 16:14:54 +0000 (17:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 8 Sep 2010 11:28:39 +0000 (12:28 +0100)
commita387f0f5409276c5cf75eecb61ef6e6896f851b4
tree01303767d7718b4f2deb9dac1e7031f6d81e140a
parent0485e18bc4112a3b548baa314c24bfbece4d156b
ARM: 6359/1: ep93xx: move clock initialization earlier

Commit 7cfe24947 ("ARM: AMBA: Add pclk support to AMBA bus
infrastructure") changed AMBA bus to handle the PCLK automatically.
However, in EP93xx clock initialization is arch_initcall which is done
later than AMBA device identification. This causes
amba_get_enable_pclk() to fail resulting device where UARTs are not
functional.

So change ep93xx_clock_init() to be postcore_initcall.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/clock.c