summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBradley Morgan <brads@mainlining.org>2026-10-05 20:03:13 +0000
committerBradley Morgan <brads@mainlining.org>2026-10-05 20:03:13 +0000
commit6af4b637bda5010c1c1b59f6cf9583d394aa4438 (patch)
treeca02715111c3b733637fc242dd16a5c71cc59074 /include
parent5ff54a875642962fc857cee00bde17f9a465f1fa (diff)
tashaboot: SPDX GPL-2.0+ everywhere, add LICENSEHEADmain
Stamp every source file with SPDX-License-Identifier: GPL-2.0+ and carry the full GPL-2 text as LICENSE. Same convention coreboot settled on (Ron Minnich): the SPDX line on the first line of each file, no license boilerplate blocks. Signed-off-by: Bradley Morgan <brads@mainlining.org>
Diffstat (limited to 'include')
-rw-r--r--include/assert.h13
-rw-r--r--include/boot.h2
-rw-r--r--include/compiler.h13
-rw-r--r--include/ctype.h13
-rw-r--r--include/debug.h13
-rw-r--r--include/dtb_patch.h2
-rw-r--r--include/platform/debug.h25
-rw-r--r--include/printf.h13
-rw-r--r--include/reg.h2
-rw-r--r--include/semihosting.h2
-rw-r--r--include/stdio.h13
-rw-r--r--include/string.h13
-rw-r--r--include/sys/types.h13
13 files changed, 117 insertions, 20 deletions
diff --git a/include/assert.h b/include/assert.h
index ecdfaca..c32bdbc 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/boot.h b/include/boot.h
index 06b05d7..3b8d6db 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __BOOT_H
#define __BOOT_H
diff --git a/include/compiler.h b/include/compiler.h
index e659047..0ed1abe 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/ctype.h b/include/ctype.h
index 7f9982e..9cc1583 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/debug.h b/include/debug.h
index 83b62b2..f64f6dc 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/dtb_patch.h b/include/dtb_patch.h
index 7fbe225..ead6393 100644
--- a/include/dtb_patch.h
+++ b/include/dtb_patch.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __TB_DTB_PATCH_H
#define __TB_DTB_PATCH_H
diff --git a/include/platform/debug.h b/include/platform/debug.h
index 38f30a7..815b52d 100644
--- a/include/platform/debug.h
+++ b/include/platform/debug.h
@@ -1,25 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
* Copyright (c) 2026 Bradley Morgan <brads@mainlining.org>
*
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files
- * (the "Software"), to deal in the Software without restriction,
- * including without limitation the rights to use, copy, modify, merge,
- * publish, distribute, sublicense, and/or sell copies of the Software,
- * and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
*
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
*
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*/
#ifndef __PLATFORM_DEBUG_H
#define __PLATFORM_DEBUG_H
diff --git a/include/printf.h b/include/printf.h
index 92981df..a74c6b2 100644
--- a/include/printf.h
+++ b/include/printf.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/reg.h b/include/reg.h
index 321074b..3bfde63 100644
--- a/include/reg.h
+++ b/include/reg.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* reg.h - mmio accessors. ld/st straight to the device, nothing cute.
*
diff --git a/include/semihosting.h b/include/semihosting.h
index 450848e..a9a89b4 100644
--- a/include/semihosting.h
+++ b/include/semihosting.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef __SEMIHOSTING_H
#define __SEMIHOSTING_H
diff --git a/include/stdio.h b/include/stdio.h
index 8099fb3..a1d2f6c 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008-2013 Travis Geiselbrecht
*
diff --git a/include/string.h b/include/string.h
index da2f229..da5ac31 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008 Travis Geiselbrecht
*
diff --git a/include/sys/types.h b/include/sys/types.h
index 70f6de1..a3a38a7 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -1,3 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2026 Bradley Morgan <brads@mainlining.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
/*
* Copyright (c) 2008-2009 Travis Geiselbrecht
*