From 6243f062ce2da6db37d9dce848c56fd156afa343 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Wed, 6 Nov 2024 13:17:27 +0100 Subject: [PATCH] boards/arm/efm32: migrate to SPDX identifier 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 --- boards/arm/efm32/efm32-g8xx-stk/include/board.h | 2 ++ boards/arm/efm32/efm32-g8xx-stk/scripts/Make.defs | 2 ++ boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld | 2 ++ boards/arm/efm32/efm32-g8xx-stk/src/Makefile | 2 ++ boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.h | 2 ++ boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.c | 2 ++ boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.c | 2 ++ boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.c | 2 ++ boards/arm/efm32/efm32gg-stk3700/include/board.h | 2 ++ boards/arm/efm32/efm32gg-stk3700/scripts/Make.defs | 2 ++ boards/arm/efm32/efm32gg-stk3700/scripts/ld.script | 2 ++ boards/arm/efm32/efm32gg-stk3700/src/Makefile | 2 ++ boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.c | 2 ++ boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.c | 2 ++ boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.c | 2 ++ boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.h | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/include/board.h | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/scripts/Make.defs | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/src/Makefile | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.c | 2 ++ boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c | 2 ++ .../arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.h | 2 ++ 23 files changed, 46 insertions(+) diff --git a/boards/arm/efm32/efm32-g8xx-stk/include/board.h b/boards/arm/efm32/efm32-g8xx-stk/include/board.h index 4eaee3c32ee..31238e42bf2 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/include/board.h +++ b/boards/arm/efm32/efm32-g8xx-stk/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/include/board.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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/scripts/Make.defs b/boards/arm/efm32/efm32-g8xx-stk/scripts/Make.defs index d5cd7f63d44..2eb7847269d 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/scripts/Make.defs +++ b/boards/arm/efm32/efm32-g8xx-stk/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/efm32-g8xx-stk/scripts/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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld b/boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld index 58876946de5..dcf98fb5536 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld +++ b/boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/scripts/efm32-g8xx-stk.ld * + * 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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/Makefile b/boards/arm/efm32/efm32-g8xx-stk/src/Makefile index dc8bbbb938d..8206bc3ce66 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/src/Makefile +++ b/boards/arm/efm32/efm32-g8xx-stk/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/efm32-g8xx-stk/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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.h b/boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.h index 1d60ec1c15e..7f4a18a4f09 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.h +++ b/boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/src/efm32-g8xx-stk.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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.c b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.c index fadac7351ac..5f1fba1e7ef 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.c +++ b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/src/efm32_autoleds.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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.c b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.c index 492eb8faf12..d2784d5c01c 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.c +++ b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/src/efm32_boot.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 diff --git a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.c b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.c index e387a22f9ff..42e2ec422b9 100644 --- a/boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.c +++ b/boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32-g8xx-stk/src/efm32_userleds.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 diff --git a/boards/arm/efm32/efm32gg-stk3700/include/board.h b/boards/arm/efm32/efm32gg-stk3700/include/board.h index 2a2204c09f4..27a369d3d7d 100644 --- a/boards/arm/efm32/efm32gg-stk3700/include/board.h +++ b/boards/arm/efm32/efm32gg-stk3700/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/include/board.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 diff --git a/boards/arm/efm32/efm32gg-stk3700/scripts/Make.defs b/boards/arm/efm32/efm32gg-stk3700/scripts/Make.defs index f0c79d599c2..1f101b5a234 100644 --- a/boards/arm/efm32/efm32gg-stk3700/scripts/Make.defs +++ b/boards/arm/efm32/efm32gg-stk3700/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/efm32gg-stk3700/scripts/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 diff --git a/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script b/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script index 48caa25af84..6d5bb87b4de 100644 --- a/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script +++ b/boards/arm/efm32/efm32gg-stk3700/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/scripts/ld.script * + * 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 diff --git a/boards/arm/efm32/efm32gg-stk3700/src/Makefile b/boards/arm/efm32/efm32gg-stk3700/src/Makefile index 47a16e26642..cd3ae2c1dc3 100644 --- a/boards/arm/efm32/efm32gg-stk3700/src/Makefile +++ b/boards/arm/efm32/efm32gg-stk3700/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/efm32gg-stk3700/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 diff --git a/boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.c b/boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.c index bd6fccea5d7..fc9a87c212a 100644 --- a/boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.c +++ b/boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/src/efm32_autoleds.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 diff --git a/boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.c b/boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.c index 15c4852d4be..ede6adb7889 100644 --- a/boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.c +++ b/boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/src/efm32_boot.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 diff --git a/boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.c b/boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.c index 7213a81f619..338972c5954 100644 --- a/boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.c +++ b/boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/src/efm32_userleds.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 diff --git a/boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.h b/boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.h index 9097c035b54..1cf6961445b 100644 --- a/boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.h +++ b/boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/efm32gg-stk3700/src/efm32gg-stk3700.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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/include/board.h b/boards/arm/efm32/olimex-efm32g880f128-stk/include/board.h index 757b08d1976..345c8a2052c 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/include/board.h +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/olimex-efm32g880f128-stk/include/board.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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/Make.defs b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/Make.defs index 8dbc1838a68..89c6ca03f34 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/Make.defs +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/olimex-efm32g880f128-stk/scripts/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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script index 817c352758b..8e413b8cbfb 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/olimex-efm32g880f128-stk/scripts/ld.script * + * 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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/src/Makefile b/boards/arm/efm32/olimex-efm32g880f128-stk/src/Makefile index 3c079bc6e4c..52177c0b0c0 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/src/Makefile +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/efm32/olimex-efm32g880f128-stk/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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.c b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.c index ea24a968e13..94dd801cd0a 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.c +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_boot.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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c index 07d6b16f204..443ba01a32b 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.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 diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.h b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.h index 8adebcdeccc..094a5c21fe2 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.h +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32g880f128-stk.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