tcl/target: add SPDX tag

For historical reasons, no license information was added to the
tcl files. This makes trivial adding the SPDX tag through script:
	fgrep -rL SPDX tcl/ target| while read a;do \
	sed -i '1{i# SPDX-License-Identifier: GPL-2.0-or-later\n
	}' $a;done

With no specific license information from the author, let's extend
the OpenOCD project license GPL-2.0-or-later to the files.

Change-Id: I7b2610300b24cccd07bfa6fb5f1266970d5d3a1b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7027
Tested-by: jenkins
This commit is contained in:
Antonio Borneo 2022-06-12 23:42:27 +02:00
parent 2c5f263bcd
commit e6505b0489
270 changed files with 535 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# 1986ВЕ1Т
# http://milandr.ru/index.php?mact=Products,cntnt01,details,0&cntnt01productid=236&cntnt01returnid=68

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Analog Devices ADSP-SC58x (ARM Cortex-A5 plus one or two SHARC+ DSPs)
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file was created using as references the stm32f1x.cfg and aduc702x.cfg
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is the config for an Allwinner V3/V3s (sun8iw8).
#
# Notes:

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $_CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Altera cyclone V SoC family, 5Cxxx
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Intel (Altera) Arria10 FPGA SoC
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
source [find target/icepick.cfg]
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
source [find target/icepick.cfg]
source [find mem_helper.tcl]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright (C) 2010-2011 by Karl Kurbjun
# Copyright (C) 2009-2011 by Øyvind Harboe

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Atheros AR71xx MIPS 24Kc SoC.
# tested on PB44 refererence board

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Configuration script for Arm CoreLink SSE-200 Subsystem based IoT SoCs.
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# armada370 -- support for the Marvell Armada/370 CPU family
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Atmel AT32AP7000
#
# This is the only core in the now-inactive high end AVR32 product line,

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# AT91R40008 target configuration file
# TRST is tied to SRST on the AT91X40 family.

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Atmel AT91rm9200
# http://atmel.com/products/at91/

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam3, a Cortex-M3 chip
#
# at91sam3u4e

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3ax_xx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3ax_xx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam3, a Cortex-M3 chip
#
# at91sam3A4C

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Configuration for Atmel's SAM3N series

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam3, a Cortex-M3 chip
#
# at91sam3s4c

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# common stuff
source [find target/at91sam3uxx.cfg]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam3, a Cortex-M3 chip
#
# at91sam3u4e

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# script for ATMEL sam4, a Cortex-M4 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4c32, a Cortex-M4 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4c, a Cortex-M4 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4l, a Cortex-M4 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4, a Cortex-M4 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for ATMEL sam4sd32, a Cortex-M4 chip
#

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# ATMEL sam7se512
# Example: the "Elektor Internet Radio" - EIR
# http://www.ethernut.de/en/hardware/eir/index.html

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config srst_only srst_pulls_trst

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config srst_only srst_pulls_trst

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config srst_only srst_pulls_trst

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9260
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9260
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9261
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9263
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9G10
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9G20
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9G45
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Atmel AT91SAM9RL
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# script for Atmel SAMD, SAMR, SAML or SAMC, a Cortex-M0 chip
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# script for the ATMEL samg5x Cortex-M4F chip family
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $_CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $_CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# The Atheros AR9331 is a highly integrated and cost effective
# IEEE 802.11n 1x1 2.4 GHz System- on-a-Chip (SoC) for wireless
# local area network (WLAN) AP and router platforms.

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $_CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# for avr
set _CHIPNAME avr

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME avr
set _ENDIAN little

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Microchip (former Atmel) SAM E54, E53, E51 and D51 devices
# with a Cortex-M4 core

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Microchip (formerly Atmel) SAM L1x target
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# ATMEL SAMV, SAMS, and SAME chips are Cortex-M7 parts
# The chips are very similar; the SAMV series just has
# more peripherals and seems like the "flagship" of the

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME avr32
set _ENDIAN big

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# BCM281xx
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME bcm4706
set _CPUID 0x1008c17f

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME bcm4718
set _LVTAPID 0x1471617f
set _CPUID 0x0008c17f

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
echo "Forcing reset_config to none to prevent OpenOCD from pulling SRST after the switch from LV is already performed"
reset_config none

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME bcm5352e
set _CPUID 0x0535217f

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
set _CHIPNAME bcm6348
set _CPUID 0x0634817f

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# BlueField SoC Target
set _CHIPNAME bluefield

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# bluenrg-1/2 and bluenrg-lp devices support only SWD transports.
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# c100 config.
# This is ARM1136 dual core
# this script only configures one core (that is used to run Linux)

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# board(-config) specific parameters file.

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
proc helpC100 {} {
echo "List of useful functions for C100 processor:"

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Note that I basically converted
# u-boot/include/asm-arm/arch/comcerto_100.h
# defines

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Config for Texas Instruments low power RF SoC CC2538
# http://www.ti.com/lit/pdf/swru319

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Utility code for DaVinci-family chips
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Marvell Dragonite CPU core
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Script for freescale DSP56321
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Script for freescale DSP568013
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Script for freescale DSP568037
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Silicon Labs (formerly Energy Micro) EFM32 target
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Target configuration for the Silicon Labs EM357 chips
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Target configuration for the Silicon Labs EM358 chips
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Cirrus Logic EP9301 processor on an Olimex CS-E9301 board.
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# EnSilica eSi-32xx SoC (eSi-RISC Family)
# http://www.ensilica.com/risc-ip/

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Samsung Exynos 5250 - dual-core ARM Cortex-A15
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#Script for faux target - used for testing
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
######################################
# Target: Marvell Feroceon CPU core
######################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# MB9BF506
# Fujitsu Cortex-M3 with 512kB Flash and 64kB RAM

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Spansion FM4 (ARM Cortex-M4)
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Spansion FM4 MB9BFxxx (ARM Cortex-M4)
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Spansion FM4 S6E2CC (ARM Cortex-M4)
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# GigaDevice GD32VF103 target
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
# Support for General Plus GP326XXXA chips
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Hisilicon Hi3798 Target
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Hisilicon Hi6220 Target
if { [info exists CHIPNAME] } {

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
################################################################################
# Author: Michael Trensch (MTrensch@googlemail.com)
################################################################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
################################################################################
# Author: Michael Trensch (MTrensch@googlemail.com)
################################################################################

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#Hilscher netX 500 CPU
if { [info exists CHIPNAME] } {

Some files were not shown because too many files have changed in this diff Show More