tcl: don't use 'set' to retrieve the value of a variable
[fw/openocd] / tcl / board / lemaker_hikey.cfg
1 #
2 # board configuration for LeMaker Hikey
3 #
4
5 # board does not feature anything but JTAG
6 transport select jtag
7
8 # SRST-only reset configuration
9 reset_config srst_only srst_push_pull
10
11 source [find target/hi6220.cfg]
12
13 # make sure the default target is the boot core
14 targets ${_TARGETNAME}0
15
16 proc core_up { args } {
17         global _TARGETNAME
18
19         # examine remaining cores
20         foreach _core $args {
21                 ${_TARGETNAME}$_core arp_examine
22         }
23 }