summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-05-17 10:14:17 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-05-17 10:14:17 +0000
commit95bab9193593a0ecd468a2c00f5e22212a93ceca (patch)
tree46dcfeb9589715bc20697f95e2d3ca3d3bba995f
parent900ced2c0559f3713186829da62406718206134c (diff)
downloadrockbox-95bab9193593a0ecd468a2c00f5e22212a93ceca.tar.gz
rockbox-95bab9193593a0ecd468a2c00f5e22212a93ceca.zip
This should fix the tinniness on e200. Best recipe not worked out yet but I'll perfect later. Independently verified and hopefully will withstand wider testing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13401 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/system-pp502x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 72e3a9b361..1f2d27a7b7 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -215,6 +215,13 @@ void system_init(void)
215#ifndef BOOTLOADER 215#ifndef BOOTLOADER
216 if (CURRENT_CORE == CPU) 216 if (CURRENT_CORE == CPU)
217 { 217 {
218#ifdef SANSA_E200
219 /* Reset all devices */
220 DEV_RS = 0x3bfffef8;
221 outl(0xffffffff, 0x60006008);
222 DEV_RS = 0;
223 outl(0x00000000, 0x60006008);
224#endif
218 /* Remap the flash ROM from 0x00000000 to 0x20000000. */ 225 /* Remap the flash ROM from 0x00000000 to 0x20000000. */
219 MMAP3_LOGICAL = 0x20000000 | 0x3a00; 226 MMAP3_LOGICAL = 0x20000000 | 0x3a00;
220 MMAP3_PHYSICAL = 0x00000000 | 0x3f84; 227 MMAP3_PHYSICAL = 0x00000000 | 0x3f84;