summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/b64_decode.c11
-rw-r--r--src/lib/device_tree.c12
-rw-r--r--src/lib/fit.c12
-rw-r--r--src/lib/hexdump.c12
-rw-r--r--src/lib/list.c12
5 files changed, 5 insertions, 54 deletions
diff --git a/src/lib/b64_decode.c b/src/lib/b64_decode.c
index 57c883870e..b4dd3f8c0a 100644
--- a/src/lib/b64_decode.c
+++ b/src/lib/b64_decode.c
@@ -1,13 +1,4 @@
-/*
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
#include <b64_decode.h>
#include <console/console.h>
diff --git a/src/lib/device_tree.c b/src/lib/device_tree.c
index 2124edd582..cb81d3248c 100644
--- a/src/lib/device_tree.c
+++ b/src/lib/device_tree.c
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/base/device_tree.c */
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <assert.h>
#include <commonlib/stdlib.h>
diff --git a/src/lib/fit.c b/src/lib/fit.c
index be6c87a936..90cbfcacee 100644
--- a/src/lib/fit.c
+++ b/src/lib/fit.c
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/boot/fit.c */
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <assert.h>
#include <cbfs.h>
diff --git a/src/lib/hexdump.c b/src/lib/hexdump.c
index 95f3b93f91..90446c1481 100644
--- a/src/lib/hexdump.c
+++ b/src/lib/hexdump.c
@@ -1,14 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <console/console.h>
#include <ctype.h>
diff --git a/src/lib/list.c b/src/lib/list.c
index 9138ab30cd..01d5c8914e 100644
--- a/src/lib/list.c
+++ b/src/lib/list.c
@@ -1,15 +1,5 @@
/* Taken from depthcharge: src/base/list.c */
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <list.h>