summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-09 14:35:47 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-09 14:35:47 +0000
commitcec7c99613b3c11deb8a05deecd7ee9d16b5ea8a (patch)
tree96dd6f86efc2fc145e40fb35ba07708064ac08f6 /firmware
parent6af762f2bfdadd90875997ec7c2035184d23f8dd (diff)
downloadrockbox-cec7c99613b3c11deb8a05deecd7ee9d16b5ea8a.tar.gz
rockbox-cec7c99613b3c11deb8a05deecd7ee9d16b5ea8a.tar.bz2
rockbox-cec7c99613b3c11deb8a05deecd7ee9d16b5ea8a.zip
Forgot to rename cpucache_flush/_invalidate for PP502x.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/system-pp502x.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 700686b427..c4bf81dc5a 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -193,7 +193,7 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void)
to extend the funtions to do alternate cache configurations. */
#ifndef BOOTLOADER
-void ICODE_ATTR cpucache_flush(void)
+void ICODE_ATTR cpucache_commit(void)
{
if (CACHE_CTL & CACHE_CTL_ENABLE)
{
@@ -202,8 +202,9 @@ void ICODE_ATTR cpucache_flush(void)
nop; nop; nop; nop;
}
}
+void cpucache_flush(void) __attribute__((alias("cpucache_commit")));
-void ICODE_ATTR cpucache_invalidate(void)
+void ICODE_ATTR cpucache_commit_discard(void)
{
if (CACHE_CTL & CACHE_CTL_ENABLE)
{
@@ -212,6 +213,7 @@ void ICODE_ATTR cpucache_invalidate(void)
nop; nop; nop; nop;
}
}
+void cpucache_invalidate(void) __attribute__((alias("cpucache_commit_discard")));
static void init_cache(void)
{