diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2012-04-30 23:16:34 +0200 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2012-04-30 23:17:29 +0200 |
commit | bde57c5df7bc52d1411728d03db0e3f5c854a7de (patch) | |
tree | c7d31e88a4ca657280628cca99eb76a5b1470f36 | |
parent | 57a20d2d638895fffe88a23cbd2960f1102b292f (diff) | |
download | rockbox-bde57c5df7bc52d1411728d03db0e3f5c854a7de.tar.gz rockbox-bde57c5df7bc52d1411728d03db0e3f5c854a7de.zip |
rk27xx: ungate all clocks before jumping into rolo'ed code. This should fix booting OF this way
Change-Id: I2c1676227a7218708d9858648c262d5fccb922f7
-rw-r--r-- | firmware/target/arm/rk27xx/rolo_restart.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/rolo_restart.S b/firmware/target/arm/rk27xx/rolo_restart.S index 19e4a1c65a..06307b4a0e 100644 --- a/firmware/target/arm/rk27xx/rolo_restart.S +++ b/firmware/target/arm/rk27xx/rolo_restart.S | |||
@@ -36,6 +36,11 @@ rolo_restart: | |||
36 | ldrh r5, [r4] | 36 | ldrh r5, [r4] |
37 | strh r5, [r4] | 37 | strh r5, [r4] |
38 | 38 | ||
39 | /* Ungate all clocks */ | ||
40 | ldr r4, =0x1801c018 | ||
41 | eor r5, r5 | ||
42 | str r5, [r4] | ||
43 | |||
39 | adr r4, restart_copy_start | 44 | adr r4, restart_copy_start |
40 | adr r5, restart_copy_end | 45 | adr r5, restart_copy_end |
41 | ldr r6, =0x18200000 | 46 | ldr r6, =0x18200000 |