diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cb.ads | 2 | ||||
-rw-r--r-- | src/lib/compute_ip_checksum.c | 2 | ||||
-rw-r--r-- | src/lib/delay.c | 2 | ||||
-rw-r--r-- | src/lib/fallback_boot.c | 2 | ||||
-rw-r--r-- | src/lib/gcov-io.c | 2 | ||||
-rw-r--r-- | src/lib/gcov-io.h | 2 | ||||
-rw-r--r-- | src/lib/gcov-iov.h | 4 | ||||
-rw-r--r-- | src/lib/libgcov.c | 2 | ||||
-rw-r--r-- | src/lib/lzma.c | 3 | ||||
-rw-r--r-- | src/lib/malloc.c | 2 | ||||
-rw-r--r-- | src/lib/memchr.c | 2 | ||||
-rw-r--r-- | src/lib/memcmp.c | 2 | ||||
-rw-r--r-- | src/lib/memcpy.c | 2 | ||||
-rw-r--r-- | src/lib/memmove.c | 2 | ||||
-rw-r--r-- | src/lib/memset.c | 2 | ||||
-rw-r--r-- | src/lib/ramtest.c | 2 | ||||
-rw-r--r-- | src/lib/rmodule.ld | 2 | ||||
-rw-r--r-- | src/lib/string.c | 2 | ||||
-rw-r--r-- | src/lib/version.c | 2 |
19 files changed, 40 insertions, 1 deletions
diff --git a/src/lib/cb.ads b/src/lib/cb.ads index 41a2a427de..4ed4f8d76b 100644 --- a/src/lib/cb.ads +++ b/src/lib/cb.ads @@ -1,2 +1,4 @@ +-- SPDX-License-Identifier: GPL-2.0-or-later + package CB is end CB; diff --git a/src/lib/compute_ip_checksum.c b/src/lib/compute_ip_checksum.c index 8aa01333bc..913f25c10c 100644 --- a/src/lib/compute_ip_checksum.c +++ b/src/lib/compute_ip_checksum.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <stdint.h> #include <ip_checksum.h> diff --git a/src/lib/delay.c b/src/lib/delay.c index 7f478778dd..25f93acdcb 100644 --- a/src/lib/delay.c +++ b/src/lib/delay.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <delay.h> void mdelay(unsigned int msecs) { diff --git a/src/lib/fallback_boot.c b/src/lib/fallback_boot.c index d3d0eb0d21..bd8503b664 100644 --- a/src/lib/fallback_boot.c +++ b/src/lib/fallback_boot.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <fallback.h> #include <watchdog.h> diff --git a/src/lib/gcov-io.c b/src/lib/gcov-io.c index e14252412e..1a41b79f73 100644 --- a/src/lib/gcov-io.c +++ b/src/lib/gcov-io.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-3.0-only WITH GCC-exception-3.1 */ + /* File format for coverage information Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. diff --git a/src/lib/gcov-io.h b/src/lib/gcov-io.h index 4c0b2e4e42..14524248db 100644 --- a/src/lib/gcov-io.h +++ b/src/lib/gcov-io.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-3.0-only WITH GCC-exception-3.1 */ + /* File format for coverage information Copyright (C) 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2008, 2009 Free Software Foundation, Inc. diff --git a/src/lib/gcov-iov.h b/src/lib/gcov-iov.h index 09951fbbe7..d653379ca4 100644 --- a/src/lib/gcov-iov.h +++ b/src/lib/gcov-iov.h @@ -1,3 +1,7 @@ +/* SPDX-License-Identifier: CC-PDDC */ + +/* Please update this license if any licensable material is added. */ + /* Generated automatically by the program `build/gcov-iov' from `4.7.2 (4 7) and (*)'. */ diff --git a/src/lib/libgcov.c b/src/lib/libgcov.c index 571aa7bb8e..b0c816181d 100644 --- a/src/lib/libgcov.c +++ b/src/lib/libgcov.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-3.0-only WITH GCC-exception-3.1 */ + /* Routines required for instrumenting a program. */ /* Compile this one with gcc. */ /* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, diff --git a/src/lib/lzma.c b/src/lib/lzma.c index d2e3e4b45d..cf52002166 100644 --- a/src/lib/lzma.c +++ b/src/lib/lzma.c @@ -1,8 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /* * coreboot interface to memory-saving variant of LZMA decoder * * Copyright (C) 2006 Carl-Daniel Hailfinger - * Released under the GNU GPL v2 or later * * Parts of this file are based on C/7zip/Compress/LZMA_C/LzmaTest.c from the * LZMA SDK 4.42, which is written and distributed to public domain by Igor diff --git a/src/lib/malloc.c b/src/lib/malloc.c index 7d787d631e..57a72c22c8 100644 --- a/src/lib/malloc.c +++ b/src/lib/malloc.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <console/console.h> #include <stdlib.h> #include <string.h> diff --git a/src/lib/memchr.c b/src/lib/memchr.c index a890dceada..65440324af 100644 --- a/src/lib/memchr.c +++ b/src/lib/memchr.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <string.h> void *memchr(const void *s, int c, size_t n) { diff --git a/src/lib/memcmp.c b/src/lib/memcmp.c index 89059a18bd..a9690359b9 100644 --- a/src/lib/memcmp.c +++ b/src/lib/memcmp.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <string.h> int memcmp(const void *src1, const void *src2, size_t bytes) diff --git a/src/lib/memcpy.c b/src/lib/memcpy.c index 1053a531c8..e1fa3c56cf 100644 --- a/src/lib/memcpy.c +++ b/src/lib/memcpy.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <string.h> void *memcpy(void *vdest, const void *vsrc, size_t bytes) { diff --git a/src/lib/memmove.c b/src/lib/memmove.c index fd75135788..45528abaa3 100644 --- a/src/lib/memmove.c +++ b/src/lib/memmove.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <string.h> void *memmove(void *vdest, const void *vsrc, size_t count) { diff --git a/src/lib/memset.c b/src/lib/memset.c index bac3305590..fc87c8a7bd 100644 --- a/src/lib/memset.c +++ b/src/lib/memset.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <string.h> void *memset(void *s, int c, size_t n) diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c index 45178a7e23..d6f958f160 100644 --- a/src/lib/ramtest.c +++ b/src/lib/ramtest.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <stdint.h> #include <lib.h> #include <console/console.h> diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld index ddf79257df..4595481ff2 100644 --- a/src/lib/rmodule.ld +++ b/src/lib/rmodule.ld @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + /* * This linker script is used to link rmodules (relocatable modules). It * links at zero so that relocation fixups are easy when placing the binaries diff --git a/src/lib/string.c b/src/lib/string.c index a9515f70ce..dd7d1512ea 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <assert.h> #include <ctype.h> #include <string.h> diff --git a/src/lib/version.c b/src/lib/version.c index 5b24c5cae1..84718328f0 100644 --- a/src/lib/version.c +++ b/src/lib/version.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <version.h> #include <build.h> |