diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-19 09:26:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-19 09:26:42 +0100 |
commit | e83a55ba65b820232cb7e700a36428ba0f2cb6e9 (patch) | |
tree | 7cf2f6e81a19f50d023f5883c858620e7afd2288 /common | |
parent | 5c3c23f10ac4a478e2f2ab3ff689422c19268022 (diff) | |
parent | 79cd45e6eb62c0599d82c768fbfe226eaf750340 (diff) | |
download | barebox-e83a55ba65b820232cb7e700a36428ba0f2cb6e9.tar.gz barebox-e83a55ba65b820232cb7e700a36428ba0f2cb6e9.tar.xz |
Merge branch 'for-next/spdx'
Diffstat (limited to 'common')
-rw-r--r-- | common/.gitignore | 2 | ||||
-rw-r--r-- | common/Kconfig | 2 | ||||
-rw-r--r-- | common/Makefile | 2 | ||||
-rw-r--r-- | common/boards/qemu-virt/overlay-of-flash.dts | 2 | ||||
-rw-r--r-- | common/calloc.c | 2 | ||||
-rw-r--r-- | common/console_simple.c | 2 | ||||
-rw-r--r-- | common/globalvar.c | 2 | ||||
-rw-r--r-- | common/imd-barebox.c | 2 | ||||
-rw-r--r-- | common/kallsyms.c | 2 | ||||
-rw-r--r-- | common/meminfo.c | 2 | ||||
-rw-r--r-- | common/memory_display.c | 4 | ||||
-rw-r--r-- | common/oftree.c | 2 | ||||
-rw-r--r-- | common/parser.c | 2 | ||||
-rw-r--r-- | common/partitions/Kconfig | 2 | ||||
-rw-r--r-- | common/partitions/Makefile | 2 | ||||
-rw-r--r-- | common/ratp/Kconfig | 3 | ||||
-rw-r--r-- | common/ratp/Makefile | 2 | ||||
-rw-r--r-- | common/serdev.c | 1 | ||||
-rw-r--r-- | common/state/Makefile | 2 | ||||
-rw-r--r-- | common/state/state.h | 2 | ||||
-rw-r--r-- | common/tlsf.c | 2 | ||||
-rw-r--r-- | common/tlsfbits.h | 2 | ||||
-rw-r--r-- | common/version.c | 2 |
23 files changed, 46 insertions, 2 deletions
diff --git a/common/.gitignore b/common/.gitignore index 8e0d6c160e..e3e3d504dc 100644 --- a/common/.gitignore +++ b/common/.gitignore @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + module.lds barebox_default_env* diff --git a/common/Kconfig b/common/Kconfig index b319b0fdd2..667b0a1e79 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + source "common/boards/Kconfig" config GREGORIAN_CALENDER diff --git a/common/Makefile b/common/Makefile index f4496c4d9b..35f2120496 100644 --- a/common/Makefile +++ b/common/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += boards/ obj-y += memory.o obj-y += memory_display.o diff --git a/common/boards/qemu-virt/overlay-of-flash.dts b/common/boards/qemu-virt/overlay-of-flash.dts index b912cbec18..ace2c7026b 100644 --- a/common/boards/qemu-virt/overlay-of-flash.dts +++ b/common/boards/qemu-virt/overlay-of-flash.dts @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + /dts-v1/; /plugin/; diff --git a/common/calloc.c b/common/calloc.c index 2b933ec272..65e843350d 100644 --- a/common/calloc.c +++ b/common/calloc.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <malloc.h> diff --git a/common/console_simple.c b/common/console_simple.c index 8c404ad264..afa9a0f186 100644 --- a/common/console_simple.c +++ b/common/console_simple.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <config.h> #include <common.h> #include <fs.h> diff --git a/common/globalvar.c b/common/globalvar.c index 9e5a99f793..4fd6361c2f 100644 --- a/common/globalvar.c +++ b/common/globalvar.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <malloc.h> #include <globalvar.h> diff --git a/common/imd-barebox.c b/common/imd-barebox.c index 06731d0600..e11fdca845 100644 --- a/common/imd-barebox.c +++ b/common/imd-barebox.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <image-metadata.h> #include <generated/compile.h> diff --git a/common/kallsyms.c b/common/kallsyms.c index f641903147..a9b2b93689 100644 --- a/common/kallsyms.c +++ b/common/kallsyms.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <init.h> #include <kallsyms.h> diff --git a/common/meminfo.c b/common/meminfo.c index d239fde582..e6b251e5bf 100644 --- a/common/meminfo.c +++ b/common/meminfo.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <init.h> #include <memory.h> diff --git a/common/memory_display.c b/common/memory_display.c index fbb8bbb6fa..77868be26a 100644 --- a/common/memory_display.c +++ b/common/memory_display.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <errno.h> #include <abort.h> @@ -132,4 +134,4 @@ int memory_display(const void *addr, loff_t offs, unsigned nbytes, int size, int swab) { return pr_memory_display(-1, addr, offs, nbytes, size, swab); -}
\ No newline at end of file +} diff --git a/common/oftree.c b/common/oftree.c index 962fff244d..0738ab6e9e 100644 --- a/common/oftree.c +++ b/common/oftree.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <environment.h> #include <fdt.h> diff --git a/common/parser.c b/common/parser.c index 584d4b0efe..387cd64c42 100644 --- a/common/parser.c +++ b/common/parser.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #include <common.h> #include <command.h> #include <password.h> diff --git a/common/partitions/Kconfig b/common/partitions/Kconfig index be9405a649..7f12383082 100644 --- a/common/partitions/Kconfig +++ b/common/partitions/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + config PARTITION_DISK depends on PARTITION depends on BLOCK diff --git a/common/partitions/Makefile b/common/partitions/Makefile index 2b0c5b4b9c..d304b6f8d5 100644 --- a/common/partitions/Makefile +++ b/common/partitions/Makefile @@ -1,2 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_PARTITION_DISK_DOS) += dos.o obj-$(CONFIG_PARTITION_DISK_EFI) += efi.o diff --git a/common/ratp/Kconfig b/common/ratp/Kconfig index 25150addfd..43720e30a0 100644 --- a/common/ratp/Kconfig +++ b/common/ratp/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only config CONSOLE_RATP bool @@ -28,4 +29,4 @@ config RATP_CMD_GPIO depends on GENERIC_GPIO prompt "RATP GPIO support" help - This option adds support for GPIO get/set/direction commands via RATP.
\ No newline at end of file + This option adds support for GPIO get/set/direction commands via RATP. diff --git a/common/ratp/Makefile b/common/ratp/Makefile index 71288bcb8c..e37ccca1fa 100644 --- a/common/ratp/Makefile +++ b/common/ratp/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += ratp.o obj-y += ping.o obj-y += getenv.o diff --git a/common/serdev.c b/common/serdev.c index 4bf11b1618..1d328c6a33 100644 --- a/common/serdev.c +++ b/common/serdev.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only #include <common.h> #include <serdev.h> diff --git a/common/state/Makefile b/common/state/Makefile index fcf9add52c..93215dd069 100644 --- a/common/state/Makefile +++ b/common/state/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += state.o obj-y += state_variables.o obj-y += backend_format_dtb.o diff --git a/common/state/state.h b/common/state/state.h index 48572c5d41..0545cf6ac1 100644 --- a/common/state/state.h +++ b/common/state/state.h @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <linux/types.h> #include <linux/list.h> #include <linux/err.h> diff --git a/common/tlsf.c b/common/tlsf.c index 4247a9d3c7..520cce496e 100644 --- a/common/tlsf.c +++ b/common/tlsf.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/common/tlsfbits.h b/common/tlsfbits.h index edbac80636..8633fb5959 100644 --- a/common/tlsfbits.h +++ b/common/tlsfbits.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + #ifndef INCLUDED_tlsfbits #define INCLUDED_tlsfbits diff --git a/common/version.c b/common/version.c index 54cec5335d..15f03c2a00 100644 --- a/common/version.c +++ b/common/version.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <generated/compile.h> #include <generated/utsrelease.h> |