[PATCH] platform: andes: Fix license to compatible GPL

Xiang W wxjstz at 126.com
Sun Jul 27 21:55:24 PDT 2025


Since platform/generic/include/andes/andes.h and
platform/generic/include/andes/andes_pma.h are licensed under the
GPL, any C files that use them should also be modified to comply
with the GPL. Otherwise, there may be potential legal issues.

Signed-off-by: Xiang W <wxjstz at 126.com>
---
 platform/generic/andes/ae350.c     | 2 +-
 platform/generic/andes/andes_pmu.c | 2 +-
 platform/generic/andes/andes_sbi.c | 2 +-
 platform/generic/andes/sleep.S     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/platform/generic/andes/ae350.c b/platform/generic/andes/ae350.c
index f06e207d..880d5803 100644
--- a/platform/generic/andes/ae350.c
+++ b/platform/generic/andes/ae350.c
@@ -1,5 +1,5 @@
 /*
- * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-License-Identifier: GPL-2.0
  *
  * Copyright (c) 2022 Andes Technology Corporation
  *
diff --git a/platform/generic/andes/andes_pmu.c b/platform/generic/andes/andes_pmu.c
index 9eee4edc..6099a73b 100644
--- a/platform/generic/andes/andes_pmu.c
+++ b/platform/generic/andes/andes_pmu.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: BSD-2-Clause
+// SPDX-License-Identifier: GPL-2.0
 /*
  * andes_pmu.c - Andes PMU device callbacks and platform overrides
  *
diff --git a/platform/generic/andes/andes_sbi.c b/platform/generic/andes/andes_sbi.c
index f68ac908..6c155e10 100644
--- a/platform/generic/andes/andes_sbi.c
+++ b/platform/generic/andes/andes_sbi.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: BSD-2-Clause
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2023 Renesas Electronics Corp.
  *
diff --git a/platform/generic/andes/sleep.S b/platform/generic/andes/sleep.S
index 361aff3a..967fdaef 100644
--- a/platform/generic/andes/sleep.S
+++ b/platform/generic/andes/sleep.S
@@ -1,5 +1,5 @@
 /*
- * SPDX-License-Identifier: BSD-2-Clause
+ * SPDX-License-Identifier: GPL-2.0
  *
  * Copyright (c) 2023 Andes Technology Corporation
  *
-- 
2.47.2




More information about the opensbi mailing list