scripts: use adapter_khz not deprecated jtag_khz
Change-Id: Ibaeebf564a95360dcf21a0921ec99f5263f11915 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/202 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
committed by
Andreas Fritiofson
parent
dbf25984cd
commit
0f41634d4f
@@ -11,7 +11,7 @@ set MCB1700_CCLK $CCLK
|
||||
$_TARGETNAME configure -event reset-start {
|
||||
# Start *real slow* as we do not know the
|
||||
# state the boot rom left the clock in
|
||||
jtag_khz 10
|
||||
adapter_khz 10
|
||||
}
|
||||
|
||||
# Set up 100MHz clock to CPU
|
||||
@@ -55,7 +55,7 @@ $_TARGETNAME configure -event reset-init {
|
||||
#
|
||||
#
|
||||
global MCB1700_CCLK
|
||||
jtag_khz [expr $MCB1700_CCLK / 8]
|
||||
adapter_khz [expr $MCB1700_CCLK / 8]
|
||||
|
||||
# Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
|
||||
# "User Flash Mode" where interrupt vectors are _not_ remapped,
|
||||
|
||||
Reference in New Issue
Block a user