summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-target.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-04 04:53:01 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-04 04:53:01 +0000
commit940e8990b5daf5b78d97331b956b517c6e802cf0 (patch)
treea0fdf7ca43759523d90dee2dbcc5ddb724313629 /firmware/target/arm/system-target.h
parentbee29d285db992a3ae85d4e09fa38384550b893c (diff)
PP502x: Make RAM physical addresses uncached. Cache the flash ROM on targets with one. Kill all the now unneeded cache flushing and i2s tweaking on e200 so clicking is no worry. Write the driver framebuffer at uncached addresses. Recording monitoring may be a little noisy in the left channel for the moment when not boosted and will be addressed. All seems to work as advertised including flash ROM dump.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14976 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/system-target.h')
-rw-r--r--firmware/target/arm/system-target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h
index ed8d90c627..9a5135071c 100644
--- a/firmware/target/arm/system-target.h
+++ b/firmware/target/arm/system-target.h
@@ -70,6 +70,9 @@ static inline unsigned int current_core(void)
return core;
}
+#define UNCACHED_ADDR(a) \
+ ((typeof (a))((uintptr_t)(a) + 0x10000000))
+
#ifdef CPU_PP502x
#ifndef BOOTLOADER