summaryrefslogtreecommitdiff
path: root/firmware/export/tcc780x.h
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-09-01 21:35:37 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-09-01 21:35:37 +0000
commit19a5dfea283c89540b61d0103ba0fe8ddee17612 (patch)
treef958da80e4bdd29ce75efba58b5d995036f8332a /firmware/export/tcc780x.h
parent166606cea08761ce3d1acf6283db97ede444bd98 (diff)
downloadrockbox-19a5dfea283c89540b61d0103ba0fe8ddee17612.tar.gz
rockbox-19a5dfea283c89540b61d0103ba0fe8ddee17612.zip
D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22595 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/tcc780x.h')
-rw-r--r--firmware/export/tcc780x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/tcc780x.h b/firmware/export/tcc780x.h
index 497f1514e0..aca3bec2bd 100644
--- a/firmware/export/tcc780x.h
+++ b/firmware/export/tcc780x.h
@@ -21,6 +21,11 @@
21#ifndef __TCC780X_H__ 21#ifndef __TCC780X_H__
22#define __TCC780X_H__ 22#define __TCC780X_H__
23 23
24#define TTB_SIZE (0x4000)
25/* must be 16Kb (0x4000) aligned */
26#define TTB_BASE_ADDR (0x20000000 + (MEMORYSIZE*1024*1024) - TTB_SIZE)
27#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) /* End of memory */
28
24/* General-purpose IO */ 29/* General-purpose IO */
25 30
26#define PORTCFG0 (*(volatile unsigned long *)0xF005A000) 31#define PORTCFG0 (*(volatile unsigned long *)0xF005A000)