diff options
| author | Mark Arigo <markarigo@gmail.com> | 2007-09-20 02:46:11 +0000 |
|---|---|---|
| committer | Mark Arigo <markarigo@gmail.com> | 2007-09-20 02:46:11 +0000 |
| commit | a80c0e8b83eb52a322c2b33e49875159c6d6a12a (patch) | |
| tree | e77f90f7b20ae964b3a76ce720a9c92e3273313e | |
| parent | e4363c116cd398721ad1eea6d7cfc68ebfaaf136 (diff) | |
| download | rockbox-a80c0e8b83eb52a322c2b33e49875159c6d6a12a.zip rockbox-a80c0e8b83eb52a322c2b33e49875159c6d6a12a.tar.gz rockbox-a80c0e8b83eb52a322c2b33e49875159c6d6a12a.tar.bz2 rockbox-a80c0e8b83eb52a322c2b33e49875159c6d6a12a.tar.xz | |
Fix the sound on the c200 by resetting all devices as done on the e200. Make the reset sequence like the c200 OF with hopefully no ill effects to the e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14762 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/target/arm/system-pp502x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 465457d..64153ee 100644 --- a/firmware/target/arm/system-pp502x.c +++ b/firmware/target/arm/system-pp502x.c @@ -198,8 +198,9 @@ void system_init(void) #ifndef BOOTLOADER if (CURRENT_CORE == CPU) { -#ifdef SANSA_E200 +#if defined(SANSA_E200) || defined(SANSA_C200) /* Reset all devices */ + outl(inl(0x60006008) | 0x20, 0x60006008); DEV_RS = 0x3bfffef8; outl(0xffffffff, 0x60006008); DEV_RS = 0; |