1
0
Fork 0
forked from len0rd/rockbox

Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Mark Arigo 2007-09-06 03:28:58 +00:00
parent 4f3bcbbb11
commit dbc6b4e39a
27 changed files with 1159 additions and 53 deletions

View file

@ -120,7 +120,7 @@ static void pp_set_cpu_frequency(long frequency)
while (test_and_set(&boostctrl_mtx.locked, 1)) ;
#endif
#ifdef SANSA_E200
#if defined(SANSA_E200) || defined(SANSA_C200)
i2s_scale_attn_level(CPUFREQ_DEFAULT);
#endif
@ -183,7 +183,7 @@ static void pp_set_cpu_frequency(long frequency)
CLCD_CLOCK_SRC; /* dummy read (to sync the write pipeline??) */
CLCD_CLOCK_SRC = clcd_clock_src; /* restore saved value */
#ifdef SANSA_E200
#if defined(SANSA_E200) || defined(SANSA_C200)
i2s_scale_attn_level(frequency);
#endif
@ -231,7 +231,7 @@ void system_init(void)
GPIOK_INT_EN = 0;
GPIOL_INT_EN = 0;
#ifdef SANSA_E200
#if defined(SANSA_E200) || defined(SANSA_C200)
/* outl(0x00000000, 0x6000b000); */
outl(inl(0x6000a000) | 0x80000000, 0x6000a000); /* Init DMA controller? */
#endif