diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-05-17 10:14:17 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-05-17 10:14:17 +0000 |
commit | 95bab9193593a0ecd468a2c00f5e22212a93ceca (patch) | |
tree | 46dcfeb9589715bc20697f95e2d3ca3d3bba995f /firmware | |
parent | 900ced2c0559f3713186829da62406718206134c (diff) | |
download | rockbox-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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/system-pp502x.c | 7 |
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) #ifndef BOOTLOADER if (CURRENT_CORE == CPU) { +#ifdef SANSA_E200 + /* Reset all devices */ + DEV_RS = 0x3bfffef8; + outl(0xffffffff, 0x60006008); + DEV_RS = 0; + outl(0x00000000, 0x60006008); +#endif /* Remap the flash ROM from 0x00000000 to 0x20000000. */ MMAP3_LOGICAL = 0x20000000 | 0x3a00; MMAP3_PHYSICAL = 0x00000000 | 0x3f84; |