Skip to content

Commit

Permalink
arch/tricore: migrate to SPDX identifier
Browse files Browse the repository at this point in the history
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <[email protected]>
  • Loading branch information
jerpelea authored and xiaoxiang781216 committed Dec 2, 2024
1 parent 3013ff9 commit 19e42a8
Show file tree
Hide file tree
Showing 57 changed files with 141 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/tricore/include/arch.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/arch.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/inttypes.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/inttypes.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/irq.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/irq.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/limits.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/limits.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/spinlock.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/spinlock.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/syscall.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/syscall.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/tc3xx/irq.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/tc3xx/irq.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/include/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/include/types.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
############################################################################
# arch/tricore/src/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/cmake/Toolchain.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/cmake/Toolchain.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/cmake/ToolchainGnuc.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/cmake/Toolchain.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/cmake/ToolchainTasking.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/cmake/Toolchain.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/cmake/platform.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/cmake/platform.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/cmake/tc3xx.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/cmake/tc3xx.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/tricore/src/common/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/Ifx_Cfg_Trap.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/Ifx_Cfg_Trap.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/Make.defs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
############################################################################
# arch/tricore/src/common/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/Toolchain.defs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
############################################################################
# arch/tricore/src/common/Toolchain.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/ToolchainGnuc.defs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
############################################################################
# arch/tricore/src/common/ToolchainGnuc.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/ToolchainTasking.defs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
############################################################################
# arch/tricore/src/common/ToolchainTasking.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_allocateheap.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_allocateheap.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_checkstack.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_checkstack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_createstack.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_createstack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_csa.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_csa.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_doirq.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_doirq.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_exit.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_exit.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_getintstack.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_getintstack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_idle.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_idle.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_initialize.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_initialize.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_initialstate.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_initialstate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_internal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_internal.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_irq.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_irq.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_main.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_mdelay.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_mdelay.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_nputs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_nputs.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_registerdump.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_registerdump.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_releasestack.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_releasestack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_saveusercontext.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_saveusercontext.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_schedulesigaction.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_schedulesigaction.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_sigdeliver.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_sigdeliver.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_stackframe.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_stackframe.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_svcall.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_svcall.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
2 changes: 2 additions & 0 deletions arch/tricore/src/common/tricore_switchcontext.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/tricore/src/common/tricore_switchcontext.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
Expand Down
Loading

0 comments on commit 19e42a8

Please sign in to comment.