[PATCH v2] Fix license to compatible BSD-2-Clause
Anup Patel
anup at brainfault.org
Wed Aug 27 22:04:34 PDT 2025
On Mon, Jul 28, 2025 at 1:13 PM Xiang W <wxjstz at 126.com> wrote:
>
> OpenSBI is a BSD project. We need to modify some codes to compatible
> with BSD-2-Clause license.
>
> Signed-off-by: Xiang W <wxjstz at 126.com>
> Reviewed-by: Ben Zong-You Xie <ben717 at andestech.com>
LGTM.
Reviewed-by: Anup Patel <anup at brainfault.org>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
> ---
> v2 changes:
> - fix typo and reword
>
> Andes Technology agrees to change license.
> We also need the consent of Renesas Electronics Corp.
>
> .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.
> *
> --
> 2.47.2
>
More information about the opensbi
mailing list