From ad904961701e4bfc59bb910daf4dcdc1c01d5ecd Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Wed, 6 Nov 2024 16:07:49 +0100 Subject: [PATCH] boards/arm/phy62xx: 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/phy62xx/phy6222/include/board.h | 2 ++ boards/arm/phy62xx/phy6222/scripts/Make.defs | 2 ++ boards/arm/phy62xx/phy6222/scripts/flash.ld | 22 ++++++++++++++++++++ boards/arm/phy62xx/phy6222/src/Makefile | 2 ++ boards/arm/phy62xx/phy6222/src/appinit.c | 2 ++ boards/arm/phy62xx/phy6222/src/boot.c | 2 ++ boards/arm/phy62xx/phy6222/src/bringup.c | 2 ++ boards/arm/phy62xx/phy6222/src/buttons.c | 2 ++ boards/arm/phy62xx/phy6222/src/etc_romfs.c | 2 ++ boards/arm/phy62xx/phy6222/src/phy6222.h | 2 ++ boards/arm/phy62xx/phy6222/src/reset.c | 2 ++ boards/arm/phy62xx/phy6222/src/userleds.c | 2 ++ 12 files changed, 44 insertions(+) diff --git a/boards/arm/phy62xx/phy6222/include/board.h b/boards/arm/phy62xx/phy6222/include/board.h index 0b1f0e87ee6..de81af31e2e 100644 --- a/boards/arm/phy62xx/phy6222/include/board.h +++ b/boards/arm/phy62xx/phy6222/include/board.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/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/phy62xx/phy6222/scripts/Make.defs b/boards/arm/phy62xx/phy6222/scripts/Make.defs index 57a8c30b92e..e04d25b19a4 100644 --- a/boards/arm/phy62xx/phy6222/scripts/Make.defs +++ b/boards/arm/phy62xx/phy6222/scripts/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/phy62xx/phy6222/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/phy62xx/phy6222/scripts/flash.ld b/boards/arm/phy62xx/phy6222/scripts/flash.ld index afaa51692f5..b5e3aa0edba 100644 --- a/boards/arm/phy62xx/phy6222/scripts/flash.ld +++ b/boards/arm/phy62xx/phy6222/scripts/flash.ld @@ -1,3 +1,25 @@ + GNU nano 7.2 /awork/nuttx/NuttX/nuttx/boards/arm/nuc1xx/nutiny-nuc120/scripts/nutiny-nuc120.ld +/**************************************************************************** + * boards/arm/nuc1xx/nutiny-nuc120/scripts/nutiny-nuc120.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 + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ MEMORY diff --git a/boards/arm/phy62xx/phy6222/src/Makefile b/boards/arm/phy62xx/phy6222/src/Makefile index 77a66b5df03..acc6499f6cf 100644 --- a/boards/arm/phy62xx/phy6222/src/Makefile +++ b/boards/arm/phy62xx/phy6222/src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # boards/arm/phy62xx/phy6222/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/phy62xx/phy6222/src/appinit.c b/boards/arm/phy62xx/phy6222/src/appinit.c index bf243a89739..60b5decc413 100644 --- a/boards/arm/phy62xx/phy6222/src/appinit.c +++ b/boards/arm/phy62xx/phy6222/src/appinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/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/phy62xx/phy6222/src/boot.c b/boards/arm/phy62xx/phy6222/src/boot.c index e4f3619736b..d41c4a82f07 100644 --- a/boards/arm/phy62xx/phy6222/src/boot.c +++ b/boards/arm/phy62xx/phy6222/src/boot.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/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/phy62xx/phy6222/src/bringup.c b/boards/arm/phy62xx/phy6222/src/bringup.c index 1e40688dc91..c1b9f17d72f 100644 --- a/boards/arm/phy62xx/phy6222/src/bringup.c +++ b/boards/arm/phy62xx/phy6222/src/bringup.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/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/phy62xx/phy6222/src/buttons.c b/boards/arm/phy62xx/phy6222/src/buttons.c index ce004cafd24..ac97a25b23e 100644 --- a/boards/arm/phy62xx/phy6222/src/buttons.c +++ b/boards/arm/phy62xx/phy6222/src/buttons.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/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/phy62xx/phy6222/src/etc_romfs.c b/boards/arm/phy62xx/phy6222/src/etc_romfs.c index 895245aca24..8fa3b49d9b5 100644 --- a/boards/arm/phy62xx/phy6222/src/etc_romfs.c +++ b/boards/arm/phy62xx/phy6222/src/etc_romfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/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 diff --git a/boards/arm/phy62xx/phy6222/src/phy6222.h b/boards/arm/phy62xx/phy6222/src/phy6222.h index 623650a1a00..f74825733ac 100644 --- a/boards/arm/phy62xx/phy6222/src/phy6222.h +++ b/boards/arm/phy62xx/phy6222/src/phy6222.h @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/phy6222.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/phy62xx/phy6222/src/reset.c b/boards/arm/phy62xx/phy6222/src/reset.c index 443230d5ec0..7aa27c9aaab 100644 --- a/boards/arm/phy62xx/phy6222/src/reset.c +++ b/boards/arm/phy62xx/phy6222/src/reset.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/reset.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/phy62xx/phy6222/src/userleds.c b/boards/arm/phy62xx/phy6222/src/userleds.c index 50faf3b8419..5305c905ccd 100644 --- a/boards/arm/phy62xx/phy6222/src/userleds.c +++ b/boards/arm/phy62xx/phy6222/src/userleds.c @@ -1,6 +1,8 @@ /**************************************************************************** * boards/arm/phy62xx/phy6222/src/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