From 95bab9193593a0ecd468a2c00f5e22212a93ceca Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 17 May 2007 10:14:17 +0000 Subject: 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 --- firmware/target/arm/system-pp502x.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'firmware') 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; -- cgit v1.2.3