summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-02-28 10:21:42 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-02-28 10:22:25 +0100
commit13f98df5ed6b8183d972f85a1bfe55cf02194941 (patch)
treee33864ea2bdb3f83ce0563dc5f0f5742fb47c4b9 /firmware
parentc0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0 (diff)
downloadrockbox-13f98df5ed6b8183d972f85a1bfe55cf02194941.tar.gz
rockbox-13f98df5ed6b8183d972f85a1bfe55cf02194941.tar.bz2
rockbox-13f98df5ed6b8183d972f85a1bfe55cf02194941.zip
rk27xx: Make sure SD module clock is not gated
Change-Id: Iafc9af6cf4762f16f367705b8c9a3e441420905b
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/rk27xx/sd-rk27xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/sd-rk27xx.c b/firmware/target/arm/rk27xx/sd-rk27xx.c
index f3081d2d7d..b6cd88fe31 100644
--- a/firmware/target/arm/rk27xx/sd-rk27xx.c
+++ b/firmware/target/arm/rk27xx/sd-rk27xx.c
@@ -402,6 +402,7 @@ static void init_controller(void)
SCU_IOMUXA_CON |= IOMUX_SD;
/* enable and unmask SD interrupts in interrupt controller */
+ SCU_CLKCFG &= ~(1<<22);
INTC_IMR |= (1<<10);
INTC_IECR |= (1<<10);