diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-29 02:49:12 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-12-29 02:49:12 +0000 |
commit | 295367686ec9855c4d90f68a6003e819fef8e7ab (patch) | |
tree | b4077ffb8d2283bf199ad12a90322be77040c2fd /firmware/system.c | |
parent | 995a804defda23233ccbdd859023f4ba3ecba0bf (diff) | |
download | rockbox-295367686ec9855c4d90f68a6003e819fef8e7ab.tar.gz rockbox-295367686ec9855c4d90f68a6003e819fef8e7ab.zip |
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/system.c')
-rw-r--r-- | firmware/system.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/firmware/system.c b/firmware/system.c index 2ec9ff7a41..2bbcd06378 100644 --- a/firmware/system.c +++ b/firmware/system.c | |||
@@ -86,7 +86,15 @@ void cpu_idle_mode(bool on_off) | |||
86 | void system_reboot(void) { | 86 | void system_reboot(void) { |
87 | } | 87 | } |
88 | 88 | ||
89 | void system_init(void) { | 89 | void system_init(void) |
90 | { | ||
91 | /* Turn off un-needed devices */ | ||
92 | |||
93 | /* Turn off all of the UARTS */ | ||
94 | CLKCON &= ~( (1<<10) | (1<<11) |(1<<12) ); | ||
95 | |||
96 | /* Turn off AC97 and Camera */ | ||
97 | CLKCON &= ~( (1<<19) | (1<<20) ); | ||
90 | } | 98 | } |
91 | 99 | ||
92 | #endif | 100 | #endif |