summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2008-04-19 16:48:01 +0000
committerBarry Wardell <rockbox@barrywardell.net>2008-04-19 16:48:01 +0000
commit7fa6bc775021715c5f523a0b24c1379bb89a3434 (patch)
treeefa2109504e181ce688afebc252574d89469873f /firmware
parent1f36c4ba53f83d3cde486bd4165ed81e07c0fec3 (diff)
downloadrockbox-7fa6bc775021715c5f523a0b24c1379bb89a3434.tar.gz
rockbox-7fa6bc775021715c5f523a0b24c1379bb89a3434.tar.bz2
rockbox-7fa6bc775021715c5f523a0b24c1379bb89a3434.zip
Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17173 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/system-pp502x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index be781f2198..9b335fe223 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -140,6 +140,8 @@ static void init_cache(void)
}
#endif /* !BOOTLOADER */
+/* We need this for Sansas since we boost the cpu in their bootloader */
+#if !defined(BOOTLOADER) || defined(SANSA_E200) || defined(SANSA_C200)
void scale_suspend_core(bool suspend) ICODE_ATTR;
void scale_suspend_core(bool suspend)
{
@@ -283,6 +285,7 @@ static void pp_set_cpu_frequency(long frequency)
spinlock_unlock(&boostctrl_spin);
#endif
}
+#endif /* !BOOTLOADER || SANSA_E200 || SANSA_C200 */
void system_init(void)
{