From af97e9369a5ecbe4438a1a5df14269fa56320fa3 Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Tue, 2 Oct 2007 21:04:10 +0000 Subject: Commit FS #7881 by Mark Arigo - enable radio on the Sansa c200. It seems that many (if not all) c200s have the radio hardware even if you can't use it with the original firmware... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14963 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/sandisk/power-c200_e200.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware/target') diff --git a/firmware/target/arm/sandisk/power-c200_e200.c b/firmware/target/arm/sandisk/power-c200_e200.c index cb85b117c4..910c3aaead 100644 --- a/firmware/target/arm/sandisk/power-c200_e200.c +++ b/firmware/target/arm/sandisk/power-c200_e200.c @@ -82,7 +82,11 @@ bool tuner_power_nolock(bool status) if (status) { /* init mystery amplification device */ +#if defined(SANSA_E200) outl(inl(0x70000084) | 0x1, 0x70000084); +#else /* SANSA_C200 */ + DEV_INIT &= ~0x800; +#endif udelay(5); /* When power up, host should initialize the 3-wire bus @@ -113,7 +117,11 @@ bool tuner_power_nolock(bool status) GPIOH_ENABLE &= ~((1 << 5) | (1 << 3) | (1 << 4)); /* turn off mystery amplification device */ +#if defined (SANSA_E200) outl(inl(0x70000084) & ~0x1, 0x70000084); +#else + DEV_INIT |= 0x800; +#endif } powered = status; -- cgit v1.2.3