diff options
author | Dave Chapman <dave@dchapman.com> | 2009-10-13 08:04:52 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-10-13 08:04:52 +0000 |
commit | 8b3433e1c08cabefa6eca131177b0157d8933aba (patch) | |
tree | 756f741839871939992f0b5c35773f851dc041af /firmware/target/arm/s5l8700 | |
parent | 8e95cc432935df1225a7bcc8e87e04f9f16bb643 (diff) |
Don't touch the clocks in Nano2G bootloader - this breaks the Apple firmware (audio playback didn't work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23143 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700')
-rw-r--r-- | firmware/target/arm/s5l8700/crt0.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8700/crt0.S b/firmware/target/arm/s5l8700/crt0.S index 98f98a3178..4904c18dd3 100644 --- a/firmware/target/arm/s5l8700/crt0.S +++ b/firmware/target/arm/s5l8700/crt0.S @@ -104,6 +104,7 @@ start_loc: #endif /* BOOTLOADER */ #endif /* CONFIG_CPU==S5L8701 */ +#if !(CONFIG_CPU==S5L8701 && defined(BOOTLOADER)) ldr r1, =0x3c500000 ldr r0, =0x00800080 str r0, [r1] // CLKCON @@ -138,7 +139,8 @@ start_loc: nop nop nop - +#endif + // ldr r0, =0x10100000 // ldr r1, =0x38200034 // str r0, [r1] // SRAM0/1 data width 16 bit |