From ecbe5abbdd2dc639c557107143b390532d3e211a Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Wed, 6 Nov 2024 11:22:23 +0100 Subject: [PATCH] boards/arm/at32: 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/at32/at32f437-mini/include/board.h | 2 ++ boards/arm/at32/at32f437-mini/kernel/Makefile | 2 ++ boards/arm/at32/at32f437-mini/kernel/at32_userspace.c | 2 ++ boards/arm/at32/at32f437-mini/scripts/Make.defs | 2 ++ boards/arm/at32/at32f437-mini/scripts/kernel-space.ld | 2 ++ boards/arm/at32/at32f437-mini/scripts/ld.script | 2 ++ boards/arm/at32/at32f437-mini/scripts/memory.ld | 2 ++ boards/arm/at32/at32f437-mini/scripts/user-space.ld | 2 ++ boards/arm/at32/at32f437-mini/src/Makefile | 2 ++ boards/arm/at32/at32f437-mini/src/at32_adc.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_appinit.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_at24.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_autoleds.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_boot.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_bringup.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_can.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_cansock.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_ethernet.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_gpio.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_mmcsd.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_pwm.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_spi.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_timer.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_usb.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_userleds.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32_w25.c | 2 ++ boards/arm/at32/at32f437-mini/src/at32f437-mini.h | 2 ++ boards/arm/at32/at32f437-mini/src/etc_romfs.c | 2 ++ 28 files changed, 56 insertions(+) diff --git a/boards/arm/at32/at32f437-mini/include/board.h b/boards/arm/at32/at32f437-mini/include/board.h index 8f0f75cc9b..9a85ed48ca 100644 --- a/boards/arm/at32/at32f437-mini/include/board.h +++ b/boards/arm/at32/at32f437-mini/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/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/at32/at32f437-mini/kernel/Makefile b/boards/arm/at32/at32f437-mini/kernel/Makefile index cf1b4df31e..40d0819717 100644 --- a/boards/arm/at32/at32f437-mini/kernel/Makefile +++ b/boards/arm/at32/at32f437-mini/kernel/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/at32/at32f437-mini/kernel/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/at32/at32f437-mini/kernel/at32_userspace.c b/boards/arm/at32/at32f437-mini/kernel/at32_userspace.c index 898045eb31..501ba85fec 100644 --- a/boards/arm/at32/at32f437-mini/kernel/at32_userspace.c +++ b/boards/arm/at32/at32f437-mini/kernel/at32_userspace.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/kernel/at32_userspace.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/at32/at32f437-mini/scripts/Make.defs b/boards/arm/at32/at32f437-mini/scripts/Make.defs index 341de9ecbd..05f707c60f 100644 --- a/boards/arm/at32/at32f437-mini/scripts/Make.defs +++ b/boards/arm/at32/at32f437-mini/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/at32/at32f437-mini/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/at32/at32f437-mini/scripts/kernel-space.ld b/boards/arm/at32/at32f437-mini/scripts/kernel-space.ld index ad1852ffe4..632ab35d23 100644 --- a/boards/arm/at32/at32f437-mini/scripts/kernel-space.ld +++ b/boards/arm/at32/at32f437-mini/scripts/kernel-space.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/scripts/kernel-space.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/at32/at32f437-mini/scripts/ld.script b/boards/arm/at32/at32f437-mini/scripts/ld.script index 7ee0d7c3c6..b1164be4d5 100644 --- a/boards/arm/at32/at32f437-mini/scripts/ld.script +++ b/boards/arm/at32/at32f437-mini/scripts/ld.script @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/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/at32/at32f437-mini/scripts/memory.ld b/boards/arm/at32/at32f437-mini/scripts/memory.ld index 2fd34cb050..b400f96514 100644 --- a/boards/arm/at32/at32f437-mini/scripts/memory.ld +++ b/boards/arm/at32/at32f437-mini/scripts/memory.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/scripts/memory.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/at32/at32f437-mini/scripts/user-space.ld b/boards/arm/at32/at32f437-mini/scripts/user-space.ld index bd2abd1d05..8e39798eb8 100644 --- a/boards/arm/at32/at32f437-mini/scripts/user-space.ld +++ b/boards/arm/at32/at32f437-mini/scripts/user-space.ld @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/scripts/user-space.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/at32/at32f437-mini/src/Makefile b/boards/arm/at32/at32f437-mini/src/Makefile index c714d8ed9a..fe4346a648 100644 --- a/boards/arm/at32/at32f437-mini/src/Makefile +++ b/boards/arm/at32/at32f437-mini/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/at32/at32f437-mini/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/at32/at32f437-mini/src/at32_adc.c b/boards/arm/at32/at32f437-mini/src/at32_adc.c index 72526bab8e..06d2f48d34 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_adc.c +++ b/boards/arm/at32/at32f437-mini/src/at32_adc.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_adc.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/at32/at32f437-mini/src/at32_appinit.c b/boards/arm/at32/at32f437-mini/src/at32_appinit.c index 2dba8d7564..777531517b 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_appinit.c +++ b/boards/arm/at32/at32f437-mini/src/at32_appinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_appinit.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/at32/at32f437-mini/src/at32_at24.c b/boards/arm/at32/at32f437-mini/src/at32_at24.c index ccfe0dde48..ada3ce12d7 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_at24.c +++ b/boards/arm/at32/at32f437-mini/src/at32_at24.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_at24.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/at32/at32f437-mini/src/at32_autoleds.c b/boards/arm/at32/at32f437-mini/src/at32_autoleds.c index 23ee5b3c1a..c9d738fa37 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_autoleds.c +++ b/boards/arm/at32/at32f437-mini/src/at32_autoleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_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/at32/at32f437-mini/src/at32_boot.c b/boards/arm/at32/at32f437-mini/src/at32_boot.c index 1f07c6a87a..e8b2aabebd 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_boot.c +++ b/boards/arm/at32/at32f437-mini/src/at32_boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_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/at32/at32f437-mini/src/at32_bringup.c b/boards/arm/at32/at32f437-mini/src/at32_bringup.c index 4f7ed92b9b..249d1777a7 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_bringup.c +++ b/boards/arm/at32/at32f437-mini/src/at32_bringup.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_bringup.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/at32/at32f437-mini/src/at32_can.c b/boards/arm/at32/at32f437-mini/src/at32_can.c index 1d131b7cfc..3f75693b21 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_can.c +++ b/boards/arm/at32/at32f437-mini/src/at32_can.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_can.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/at32/at32f437-mini/src/at32_cansock.c b/boards/arm/at32/at32f437-mini/src/at32_cansock.c index 66c3c04a7c..d1bb10c121 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_cansock.c +++ b/boards/arm/at32/at32f437-mini/src/at32_cansock.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_cansock.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/at32/at32f437-mini/src/at32_ethernet.c b/boards/arm/at32/at32f437-mini/src/at32_ethernet.c index 8795e890fc..ff436f9bb3 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_ethernet.c +++ b/boards/arm/at32/at32f437-mini/src/at32_ethernet.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_ethernet.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/at32/at32f437-mini/src/at32_gpio.c b/boards/arm/at32/at32f437-mini/src/at32_gpio.c index 1402e838e4..71ab22998b 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_gpio.c +++ b/boards/arm/at32/at32f437-mini/src/at32_gpio.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_gpio.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/at32/at32f437-mini/src/at32_mmcsd.c b/boards/arm/at32/at32f437-mini/src/at32_mmcsd.c index e00c2c0c16..8f7dfcb0e9 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_mmcsd.c +++ b/boards/arm/at32/at32f437-mini/src/at32_mmcsd.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_mmcsd.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/at32/at32f437-mini/src/at32_pwm.c b/boards/arm/at32/at32f437-mini/src/at32_pwm.c index 9645e3b392..63b71f01a5 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_pwm.c +++ b/boards/arm/at32/at32f437-mini/src/at32_pwm.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_pwm.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/at32/at32f437-mini/src/at32_spi.c b/boards/arm/at32/at32f437-mini/src/at32_spi.c index 3574a5c829..fdf2eac17a 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_spi.c +++ b/boards/arm/at32/at32f437-mini/src/at32_spi.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_spi.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/at32/at32f437-mini/src/at32_timer.c b/boards/arm/at32/at32f437-mini/src/at32_timer.c index 126b9aea52..d8198b0ee9 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_timer.c +++ b/boards/arm/at32/at32f437-mini/src/at32_timer.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_timer.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/at32/at32f437-mini/src/at32_usb.c b/boards/arm/at32/at32f437-mini/src/at32_usb.c index 99c481c5ff..c43ed428ed 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_usb.c +++ b/boards/arm/at32/at32f437-mini/src/at32_usb.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_usb.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/at32/at32f437-mini/src/at32_userleds.c b/boards/arm/at32/at32f437-mini/src/at32_userleds.c index c9587cd8e4..469d128827 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_userleds.c +++ b/boards/arm/at32/at32f437-mini/src/at32_userleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_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/at32/at32f437-mini/src/at32_w25.c b/boards/arm/at32/at32f437-mini/src/at32_w25.c index 7e5b40f9d5..faede33a5b 100644 --- a/boards/arm/at32/at32f437-mini/src/at32_w25.c +++ b/boards/arm/at32/at32f437-mini/src/at32_w25.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32_w25.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/at32/at32f437-mini/src/at32f437-mini.h b/boards/arm/at32/at32f437-mini/src/at32f437-mini.h index 6def42624f..5a65995e9e 100644 --- a/boards/arm/at32/at32f437-mini/src/at32f437-mini.h +++ b/boards/arm/at32/at32f437-mini/src/at32f437-mini.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/at32f437-mini.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/at32/at32f437-mini/src/etc_romfs.c b/boards/arm/at32/at32f437-mini/src/etc_romfs.c index d1015996a8..8d70a7dffa 100644 --- a/boards/arm/at32/at32f437-mini/src/etc_romfs.c +++ b/boards/arm/at32/at32f437-mini/src/etc_romfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/at32/at32f437-mini/src/etc_romfs.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