1
0
Fork 0
forked from len0rd/rockbox

Added S5L870X cache coherency support

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23058 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2009-10-09 21:41:57 +00:00
parent f0a96580ae
commit a931acd3ab
3 changed files with 7 additions and 0 deletions

View file

@ -1276,6 +1276,7 @@ target/arm/tcc780x/cowond2/audio-cowond2.c
#endif /* COWON_D2 */ #endif /* COWON_D2 */
#ifdef CPU_S5L870X #ifdef CPU_S5L870X
target/arm/mmu-arm.S
target/arm/s5l8700/system-s5l8700.c target/arm/s5l8700/system-s5l8700.c
#ifndef SIMULATOR #ifndef SIMULATOR
#ifndef BOOTLOADER #ifndef BOOTLOADER

View file

@ -155,6 +155,9 @@ cpucache_invalidate:
.size invalidate_idcache, .-invalidate_idcache .size invalidate_idcache, .-invalidate_idcache
#else /* !IMX31L */ #else /* !IMX31L */
/* S5L870X doesn't have a MMU */
#ifndef CPU_S5L870X
/** MMU setup **/ /** MMU setup **/
/* /*
@ -243,6 +246,8 @@ enable_mmu:
bx lr @ bx lr @
.size enable_mmu, .-enable_mmu .size enable_mmu, .-enable_mmu
.ltorg .ltorg
#endif /* S5L870X */
/** Cache coherency **/ /** Cache coherency **/

View file

@ -22,6 +22,7 @@
#define SYSTEM_TARGET_H #define SYSTEM_TARGET_H
#include "system-arm.h" #include "system-arm.h"
#include "mmu-arm.h"
#define CPUFREQ_DEFAULT 32000000 #define CPUFREQ_DEFAULT 32000000
#define CPUFREQ_NORMAL 48000000 #define CPUFREQ_NORMAL 48000000