1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Mark Arigo 2007-09-20 02:46:11 +00:00
parent e4363c116c
commit a80c0e8b83

View file

@ -198,8 +198,9 @@ void system_init(void)
#ifndef BOOTLOADER #ifndef BOOTLOADER
if (CURRENT_CORE == CPU) if (CURRENT_CORE == CPU)
{ {
#ifdef SANSA_E200 #if defined(SANSA_E200) || defined(SANSA_C200)
/* Reset all devices */ /* Reset all devices */
outl(inl(0x60006008) | 0x20, 0x60006008);
DEV_RS = 0x3bfffef8; DEV_RS = 0x3bfffef8;
outl(0xffffffff, 0x60006008); outl(0xffffffff, 0x60006008);
DEV_RS = 0; DEV_RS = 0;