aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Jaouen <michel.jaouen@stericsson.com>2011-09-19 16:49:23 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-09-30 09:45:29 +0200
commitac49e24149680e9a5c59845648c0031926b7c919 (patch)
treed03cb2ab4430e565d28ed40abf46e49cd82be154
parent00ded4eb012006da1f56c0ba39af09cc4a66db07 (diff)
downloadriscv-openocd-ac49e24149680e9a5c59845648c0031926b7c919.zip
riscv-openocd-ac49e24149680e9a5c59845648c0031926b7c919.tar.gz
riscv-openocd-ac49e24149680e9a5c59845648c0031926b7c919.tar.bz2
u8500 : config for L2 cache
-rw-r--r--tcl/target/u8500.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcl/target/u8500.cfg b/tcl/target/u8500.cfg
index f6e2091..073e01f 100644
--- a/tcl/target/u8500.cfg
+++ b/tcl/target/u8500.cfg
@@ -131,7 +131,9 @@ proc enable_apetap {} {
set status [$_TARGETNAME_1 curstate]
if {[string equal "unknown" $status]} {
$_TARGETNAME_1 arp_examine
+ cache_config l2x 0xa0412000 8
}
+
set status [$_TARGETNAME_2 curstate]
if {[string equal "unknown" $status]} {
$_TARGETNAME_2 arp_examine
@@ -234,6 +236,9 @@ if { $_SMP == 1} {
target smp $_CHIPNAME.cpu2 $_CHIPNAME.cpu1
}
+
+
+
proc secsts1 { } {
global _CHIPNAME
irscan $_CHIPNAME.jrc 0x3a
@@ -265,6 +270,7 @@ proc att { } {
} else {
echo "target secured"
}
+
}