From a80c0e8b83eb52a322c2b33e49875159c6d6a12a Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Thu, 20 Sep 2007 02:46:11 +0000 Subject: 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 --- firmware/target/arm/system-pp502x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c index 465457d0e1..64153eefc4 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; -- cgit v1.2.3