# Copyright (C) ST-Ericsson SA 2011
# Author : michel.jaouen@stericsson.com
-# U8500 target
+# U8500 target
proc mmu_off {} {
set cp [arm mrc 15 0 1 0 0]
proc smp_reg {} {
global _TARGETNAME_1
global _TARGETNAME_2
- targets $_TARGETNAME_1
+ targets $_TARGETNAME_1
echo "$_TARGETNAME_1"
set pc1 [reg pc]
set stck1 [reg sp_svc]
8 {
echo "A9 100% DVFS"
}
- c {
+ c {
echo "A9 50% DVFS"
}
}
telnet_port 4444
gdb_port 3333
-if { [info exists CHIPNAME] } {
+if { [info exists CHIPNAME] } {
global _CHIPNAME
set _CHIPNAME $CHIPNAME
} else {
if { [info exists DAP_DBG1] } {
set _DAP_DBG1 $DAP_DBG1
} else {
- set _DAP_DBG1 0x801A8000
+ set _DAP_DBG1 0x801A8000
}
if { [info exists DAP_DBG2] } {
set _DAP_DBG2 $DAP_DBG2
} else {
- set _DAP_DBG2 0x801AA000
+ set _DAP_DBG2 0x801AA000
}
dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
set _SMP $SMP
}
global SMP
-if { $_SMP == 1} {
+if { $_SMP == 1} {
target smp $_CHIPNAME.cpu2 $_CHIPNAME.cpu1
}
} else {
echo "target secured"
}
-
+
}
global _MAXSPEED
set _MAXSPEED 15000
} else {
-global _MAXSPEED
+global _MAXSPEED
set _MAXSPEED $MAXSPEED
}
-global _MAXSPEED
+global _MAXSPEED
adapter speed $_MAXSPEED