tcl/board: add SPDX tag
[fw/openocd] / tcl / board / tocoding_poplar.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # board configuration for Tocoding Poplar
5 #
6
7 # board does not feature anything but JTAG
8 transport select jtag
9
10 adapter speed 10000
11
12 # SRST-only reset configuration
13 reset_config srst_only srst_push_pull
14
15 source [find target/hi3798.cfg]
16
17 # make sure the default target is the boot core
18 targets ${_TARGETNAME}0
19
20 proc core_up { args } {
21         global _TARGETNAME
22
23         # examine remaining cores
24         foreach _core $args {
25                 ${_TARGETNAME}$_core arp_examine
26         }
27 }