From 6068efc7f5fa22ea5002c557cf7da961c8b16e25 Mon Sep 17 00:00:00 2001 From: Xiang W Date: Mon, 28 Jul 2025 15:38:10 +0800 Subject: [PATCH] Fix license to compatible BSD-2-Clause OpenSBI is a BSD project. We need to modify some codes to compatible with BSD-2-Clause license. Signed-off-by: Xiang W Reviewed-by: Ben Zong-You Xie Reviewed-by: Anup Patel Link: https://lore.kernel.org/r/20250728074334.372355-1-wxjstz@126.com Signed-off-by: Anup Patel --- .editorconfig | 2 +- platform/generic/andes/andes_pma.c | 2 +- platform/generic/include/andes/andes.h | 2 +- platform/generic/include/andes/andes_pma.h | 2 +- platform/generic/renesas/rzfive/rzfive.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index e66b1ca3..26f90534 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0-only +# SPDX-License-Identifier: BSD-2-Clause # See here for more information about the format and editor support: # https://editorconfig.org/ diff --git a/platform/generic/andes/andes_pma.c b/platform/generic/andes/andes_pma.c index 09e5a30c..eeeb110e 100644 --- a/platform/generic/andes/andes_pma.c +++ b/platform/generic/andes/andes_pma.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2023 Renesas Electronics Corp. * Copyright (c) 2024 Andes Technology Corporation diff --git a/platform/generic/include/andes/andes.h b/platform/generic/include/andes/andes.h index 3403a58b..bfedf034 100644 --- a/platform/generic/include/andes/andes.h +++ b/platform/generic/include/andes/andes.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (C) 2024 Andes Technology Corporation */ diff --git a/platform/generic/include/andes/andes_pma.h b/platform/generic/include/andes/andes_pma.h index be614964..4a66e1b6 100644 --- a/platform/generic/include/andes/andes_pma.h +++ b/platform/generic/include/andes/andes_pma.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (C) 2023 Renesas Electronics Corp. */ diff --git a/platform/generic/renesas/rzfive/rzfive.c b/platform/generic/renesas/rzfive/rzfive.c index 44db3671..6c3da095 100644 --- a/platform/generic/renesas/rzfive/rzfive.c +++ b/platform/generic/renesas/rzfive/rzfive.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (C) 2022 Renesas Electronics Corp. *