]> git.baikalelectronics.ru Git - kernel.git/commit
omap: Enable GPMC clock in gpmc_init
authorOlof Johansson <olof@lixom.net>
Wed, 20 Jan 2010 22:39:29 +0000 (22:39 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Jan 2010 01:25:31 +0000 (17:25 -0800)
commit28a16570ebd9e8d47b1eaca834cf5b535d207507
treeaf41aba45d687465c258469a7fa2c52babd89758
parent5a70f82be53a6e5b828d8d16af7b3e9a780556e6
omap: Enable GPMC clock in gpmc_init

Don't assume that gpmc_l3_clk is on, enable it before touching
configuration registers.

Note that the current code assumes that this clock is always
enabled. We are already setting smart idle and L3 autogating
for GPMC clock in gpmc_init.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc.c