Skip to content

Commit c57d8c2

Browse files
committed
piolib: Correct licence to be BSD-3-Clause
The GPL-2.0 SPD-X header found in some files was copied from a kernel file and not amemded. BSD-3-Clause is the preferred licence for these files. Signed-off-by: Phil Elwell <[email protected]>
1 parent f92b973 commit c57d8c2

File tree

11 files changed

+18
-12
lines changed

11 files changed

+18
-12
lines changed

piolib/include/hardware/clocks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2024 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/hardware/gpio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2024 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/hardware/pio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2024 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/hardware/timer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2024 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/pio_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2024 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/piolib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2023-24 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/piolib_priv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2023-24 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/include/rp1_pio_if.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
33
* Copyright (c) 2023-24 Raspberry Pi Ltd.
44
* All rights reserved.

piolib/library_piochips.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2025 Raspberry Pi Ltd.
4+
* All rights reserved.
5+
*/
6+
17
#include "piolib.h"
28
#include "piolib_priv.h"
39

piolib/pio_rp1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: BSD-3-Clause
22
/*
3-
* Copyright (c) 2024 Raspberry Pi Ltd.
3+
* Copyright (c) 2024-25 Raspberry Pi Ltd.
44
* All rights reserved.
55
*/
66

0 commit comments

Comments
 (0)