summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2020-05-10 16:41:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-11 17:11:40 +0000
commit6b5bc77c9b22c398262ff3f4dae3e14904c57366 (patch)
treeab40c703d92f906f8604635f091f809b59233efa /src/security
parenta83c6bc907b8ef77935ba62789bc4ed60716986d (diff)
treewide: Remove "this file is part of" lines
Stefan thinks they don't add value. Command used: sed -i -e '/file is part of /d' $(git grep "file is part of " |egrep ":( */\*.*\*/\$|#|;#|-- | *\* )" | cut -d: -f1 |grep -v crossgcc |grep -v gcov | grep -v /elf.h |grep -v nvramtool) The exceptions are for: - crossgcc (patch file) - gcov (imported from gcc) - elf.h (imported from GNU's libc) - nvramtool (more complicated header) The removed lines are: - fmt.Fprintln(f, "/* This file is part of the coreboot project. */") -# This file is part of a set of unofficial pre-commit hooks available -/* This file is part of coreboot */ -# This file is part of msrtool. -/* This file is part of msrtool. */ - * This file is part of ncurses, designed to be appended after curses.h.in -/* This file is part of pgtblgen. */ - * This file is part of the coreboot project. - /* This file is part of the coreboot project. */ -# This file is part of the coreboot project. -# This file is part of the coreboot project. -## This file is part of the coreboot project. --- This file is part of the coreboot project. -/* This file is part of the coreboot project */ -/* This file is part of the coreboot project. */ -;## This file is part of the coreboot project. -# This file is part of the coreboot project. It originated in the - * This file is part of the coreinfo project. -## This file is part of the coreinfo project. - * This file is part of the depthcharge project. -/* This file is part of the depthcharge project. */ -/* This file is part of the ectool project. */ - * This file is part of the GNU C Library. - * This file is part of the libpayload project. -## This file is part of the libpayload project. -/* This file is part of the Linux kernel. */ -## This file is part of the superiotool project. -/* This file is part of the superiotool project */ -/* This file is part of uio_usbdebug */ Change-Id: I82d872b3b337388c93d5f5bf704e9ee9e53ab3a9 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41194 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/Kconfig1
-rw-r--r--src/security/intel/Kconfig1
-rw-r--r--src/security/intel/txt/Kconfig1
-rw-r--r--src/security/lockdown/Makefile.inc1
-rw-r--r--src/security/lockdown/lockdown.c1
-rw-r--r--src/security/memory/Kconfig1
-rw-r--r--src/security/memory/memory.c1
-rw-r--r--src/security/memory/memory.h1
-rw-r--r--src/security/memory/memory_clear.c1
-rw-r--r--src/security/tpm/Kconfig1
-rw-r--r--src/security/tpm/tis.h1
-rw-r--r--src/security/tpm/tspi.h1
-rw-r--r--src/security/tpm/tspi/crtm.c1
-rw-r--r--src/security/tpm/tspi/crtm.h1
-rw-r--r--src/security/tpm/tspi/log.c1
-rw-r--r--src/security/tpm/tspi/tspi.c1
-rw-r--r--src/security/tpm/tss/common/tss_common.h1
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss_commands.h1
-rw-r--r--src/security/tpm/tss/vendor/cr50/Kconfig1
-rw-r--r--src/security/tpm/tss/vendor/cr50/cr50.h1
-rw-r--r--src/security/vboot/Kconfig1
-rw-r--r--src/security/vboot/Makefile.inc1
-rw-r--r--src/security/vboot/bootmode.c1
-rw-r--r--src/security/vboot/common.c1
-rw-r--r--src/security/vboot/ec_sync.c1
-rw-r--r--src/security/vboot/misc.h1
-rw-r--r--src/security/vboot/mrc_cache_hash_tpm.c1
-rw-r--r--src/security/vboot/symbols.h1
-rw-r--r--src/security/vboot/tpm_common.c1
-rw-r--r--src/security/vboot/tpm_common.h1
-rw-r--r--src/security/vboot/vbnv.c1
-rw-r--r--src/security/vboot/vbnv.h1
-rw-r--r--src/security/vboot/vbnv_cmos.c1
-rw-r--r--src/security/vboot/vbnv_ec.c1
-rw-r--r--src/security/vboot/vbnv_flash.c1
-rw-r--r--src/security/vboot/vbnv_layout.h1
-rw-r--r--src/security/vboot/vboot_common.c1
-rw-r--r--src/security/vboot/vboot_common.h1
-rw-r--r--src/security/vboot/vboot_lib.c1
-rw-r--r--src/security/vboot/vboot_loader.c1
-rw-r--r--src/security/vboot/vboot_logic.c1
-rw-r--r--src/security/vboot/verstage.c1
42 files changed, 0 insertions, 42 deletions
diff --git a/src/security/Kconfig b/src/security/Kconfig
index e45cc641b7..54d38fb5c2 100644
--- a/src/security/Kconfig
+++ b/src/security/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
source "src/security/vboot/Kconfig"
diff --git a/src/security/intel/Kconfig b/src/security/intel/Kconfig
index 4f59772c49..9cdd8a6610 100644
--- a/src/security/intel/Kconfig
+++ b/src/security/intel/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
source "src/security/intel/txt/Kconfig"
diff --git a/src/security/intel/txt/Kconfig b/src/security/intel/txt/Kconfig
index 095b108bf1..732f3d3c67 100644
--- a/src/security/intel/txt/Kconfig
+++ b/src/security/intel/txt/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
config INTEL_TXT
diff --git a/src/security/lockdown/Makefile.inc b/src/security/lockdown/Makefile.inc
index 6ccc5571d4..00405fa6f5 100644
--- a/src/security/lockdown/Makefile.inc
+++ b/src/security/lockdown/Makefile.inc
@@ -1,5 +1,4 @@
## SPDX-License-Identifier: GPL-2.0-or-later
-## This file is part of the coreboot project.
ifneq ($(CONFIG_BOOTMEDIA_LOCK_NONE),y)
diff --git a/src/security/lockdown/lockdown.c b/src/security/lockdown/lockdown.c
index 62d0a2914a..81478cc044 100644
--- a/src/security/lockdown/lockdown.c
+++ b/src/security/lockdown/lockdown.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-/* This file is part of the coreboot project. */
#include <boot_device.h>
#include <commonlib/region.h>
diff --git a/src/security/memory/Kconfig b/src/security/memory/Kconfig
index ede65442c5..5104f34069 100644
--- a/src/security/memory/Kconfig
+++ b/src/security/memory/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
menu "Memory initialization"
diff --git a/src/security/memory/memory.c b/src/security/memory/memory.c
index 416a6c9590..664e7c17a3 100644
--- a/src/security/memory/memory.c
+++ b/src/security/memory/memory.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <types.h>
#include "memory.h"
diff --git a/src/security/memory/memory.h b/src/security/memory/memory.h
index 73066e9f35..fea341e92f 100644
--- a/src/security/memory/memory.h
+++ b/src/security/memory/memory.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <stdint.h>
diff --git a/src/security/memory/memory_clear.c b/src/security/memory/memory_clear.c
index 4504780f48..a550eebf4a 100644
--- a/src/security/memory/memory_clear.c
+++ b/src/security/memory/memory_clear.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#if CONFIG(ARCH_X86)
#include <cpu/x86/pae.h>
diff --git a/src/security/tpm/Kconfig b/src/security/tpm/Kconfig
index 2dc32b0f85..6741614bb0 100644
--- a/src/security/tpm/Kconfig
+++ b/src/security/tpm/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
source "src/security/tpm/tss/vendor/cr50/Kconfig"
diff --git a/src/security/tpm/tis.h b/src/security/tpm/tis.h
index b14ced8221..5b2c001070 100644
--- a/src/security/tpm/tis.h
+++ b/src/security/tpm/tis.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef TIS_H_
#define TIS_H_
diff --git a/src/security/tpm/tspi.h b/src/security/tpm/tspi.h
index 26fabbfabf..a776a4db0a 100644
--- a/src/security/tpm/tspi.h
+++ b/src/security/tpm/tspi.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef TSPI_H_
#define TSPI_H_
diff --git a/src/security/tpm/tspi/crtm.c b/src/security/tpm/tspi/crtm.c
index b22f3166cf..8bcc01bcbb 100644
--- a/src/security/tpm/tspi/crtm.c
+++ b/src/security/tpm/tspi/crtm.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <console/console.h>
#include <fmap.h>
diff --git a/src/security/tpm/tspi/crtm.h b/src/security/tpm/tspi/crtm.h
index 281c8fc7a9..1b29854efb 100644
--- a/src/security/tpm/tspi/crtm.h
+++ b/src/security/tpm/tspi/crtm.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __SECURITY_TSPI_CRTM_H__
#define __SECURITY_TSPI_CRTM_H__
diff --git a/src/security/tpm/tspi/log.c b/src/security/tpm/tspi/log.c
index 619357a0d7..07623f75b1 100644
--- a/src/security/tpm/tspi/log.c
+++ b/src/security/tpm/tspi/log.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <console/console.h>
#include <security/tpm/tspi.h>
diff --git a/src/security/tpm/tspi/tspi.c b/src/security/tpm/tspi/tspi.c
index 7a88f8db6d..144e3c31a0 100644
--- a/src/security/tpm/tspi/tspi.c
+++ b/src/security/tpm/tspi/tspi.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <console/cbmem_console.h>
#include <console/console.h>
diff --git a/src/security/tpm/tss/common/tss_common.h b/src/security/tpm/tss/common/tss_common.h
index 124ec4ad14..419e429349 100644
--- a/src/security/tpm/tss/common/tss_common.h
+++ b/src/security/tpm/tss/common/tss_common.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef TCG_TSS_COMMON_H_
#define TCG_TSS_COMMON_H_
diff --git a/src/security/tpm/tss/tcg-1.2/tss_commands.h b/src/security/tpm/tss/tcg-1.2/tss_commands.h
index 2a72a9a619..70e0558218 100644
--- a/src/security/tpm/tss/tcg-1.2/tss_commands.h
+++ b/src/security/tpm/tss/tcg-1.2/tss_commands.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <stdint.h>
diff --git a/src/security/tpm/tss/vendor/cr50/Kconfig b/src/security/tpm/tss/vendor/cr50/Kconfig
index 94b3b83b62..f606459d65 100644
--- a/src/security/tpm/tss/vendor/cr50/Kconfig
+++ b/src/security/tpm/tss/vendor/cr50/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
config TPM_CR50
diff --git a/src/security/tpm/tss/vendor/cr50/cr50.h b/src/security/tpm/tss/vendor/cr50/cr50.h
index e3146a421f..dadeddfb68 100644
--- a/src/security/tpm/tss/vendor/cr50/cr50.h
+++ b/src/security/tpm/tss/vendor/cr50/cr50.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef CR50_TSS_STRUCTURES_H_
#define CR50_TSS_STRUCTURES_H_
diff --git a/src/security/vboot/Kconfig b/src/security/vboot/Kconfig
index 39b687df92..d317cb6447 100644
--- a/src/security/vboot/Kconfig
+++ b/src/security/vboot/Kconfig
@@ -1,4 +1,3 @@
-# This file is part of the coreboot project.
# SPDX-License-Identifier: GPL-2.0-only
menu "Verified Boot (vboot)"
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index a1737270a4..e794bf724f 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -1,5 +1,4 @@
##
-## This file is part of the coreboot project.
##
##
## SPDX-License-Identifier: GPL-2.0-only
diff --git a/src/security/vboot/bootmode.c b/src/security/vboot/bootmode.c
index 83a06cef29..5bd3922932 100644
--- a/src/security/vboot/bootmode.c
+++ b/src/security/vboot/bootmode.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <assert.h>
#include <bootmode.h>
diff --git a/src/security/vboot/common.c b/src/security/vboot/common.c
index 38469f8181..e2b20b8bd4 100644
--- a/src/security/vboot/common.c
+++ b/src/security/vboot/common.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <assert.h>
#include <cbmem.h>
diff --git a/src/security/vboot/ec_sync.c b/src/security/vboot/ec_sync.c
index 39950a8452..97b8ed9338 100644
--- a/src/security/vboot/ec_sync.c
+++ b/src/security/vboot/ec_sync.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <assert.h>
#include <cbfs.h>
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h
index d1e60bb2ac..8af0c827a8 100644
--- a/src/security/vboot/misc.h
+++ b/src/security/vboot/misc.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __VBOOT_MISC_H__
#define __VBOOT_MISC_H__
diff --git a/src/security/vboot/mrc_cache_hash_tpm.c b/src/security/vboot/mrc_cache_hash_tpm.c
index d1afe997f4..bc500a29f5 100644
--- a/src/security/vboot/mrc_cache_hash_tpm.c
+++ b/src/security/vboot/mrc_cache_hash_tpm.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <security/vboot/antirollback.h>
#include <program_loading.h>
diff --git a/src/security/vboot/symbols.h b/src/security/vboot/symbols.h
index 53486f3c4f..59eb7943c3 100644
--- a/src/security/vboot/symbols.h
+++ b/src/security/vboot/symbols.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __VBOOT_SYMBOLS_H__
#define __VBOOT_SYMBOLS_H__
diff --git a/src/security/vboot/tpm_common.c b/src/security/vboot/tpm_common.c
index d763c97811..ca7cedd168 100644
--- a/src/security/vboot/tpm_common.c
+++ b/src/security/vboot/tpm_common.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <security/tpm/tspi.h>
diff --git a/src/security/vboot/tpm_common.h b/src/security/vboot/tpm_common.h
index 5cc8fb742b..45a7ae999f 100644
--- a/src/security/vboot/tpm_common.h
+++ b/src/security/vboot/tpm_common.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#if CONFIG(TPM1) || CONFIG(TPM2)
diff --git a/src/security/vboot/vbnv.c b/src/security/vboot/vbnv.c
index bd8b882d1c..7e92401e55 100644
--- a/src/security/vboot/vbnv.c
+++ b/src/security/vboot/vbnv.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <string.h>
#include <types.h>
diff --git a/src/security/vboot/vbnv.h b/src/security/vboot/vbnv.h
index b4418b511e..eb435e2e58 100644
--- a/src/security/vboot/vbnv.h
+++ b/src/security/vboot/vbnv.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __VBOOT_VBNV_H__
#define __VBOOT_VBNV_H__
diff --git a/src/security/vboot/vbnv_cmos.c b/src/security/vboot/vbnv_cmos.c
index e16c2fb8c7..a719bb1774 100644
--- a/src/security/vboot/vbnv_cmos.c
+++ b/src/security/vboot/vbnv_cmos.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <bootstate.h>
#include <console/console.h>
diff --git a/src/security/vboot/vbnv_ec.c b/src/security/vboot/vbnv_ec.c
index 8ecb5492df..fcae37a910 100644
--- a/src/security/vboot/vbnv_ec.c
+++ b/src/security/vboot/vbnv_ec.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <types.h>
#include <ec/google/chromeec/ec.h>
diff --git a/src/security/vboot/vbnv_flash.c b/src/security/vboot/vbnv_flash.c
index 5cdb9aa69d..f39ad4f244 100644
--- a/src/security/vboot/vbnv_flash.c
+++ b/src/security/vboot/vbnv_flash.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <commonlib/region.h>
#include <console/console.h>
diff --git a/src/security/vboot/vbnv_layout.h b/src/security/vboot/vbnv_layout.h
index 562859db76..5dd39643c7 100644
--- a/src/security/vboot/vbnv_layout.h
+++ b/src/security/vboot/vbnv_layout.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __VBOOT_VBNV_LAYOUT_H__
#define __VBOOT_VBNV_LAYOUT_H__
diff --git a/src/security/vboot/vboot_common.c b/src/security/vboot/vboot_common.c
index 049b4a9558..aeb6cefeb5 100644
--- a/src/security/vboot/vboot_common.c
+++ b/src/security/vboot/vboot_common.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <boot_device.h>
#include <cbmem.h>
diff --git a/src/security/vboot/vboot_common.h b/src/security/vboot/vboot_common.h
index a260475071..66e96e4782 100644
--- a/src/security/vboot/vboot_common.h
+++ b/src/security/vboot/vboot_common.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#ifndef __VBOOT_VBOOT_COMMON_H__
#define __VBOOT_VBOOT_COMMON_H__
diff --git a/src/security/vboot/vboot_lib.c b/src/security/vboot/vboot_lib.c
index b2303c0295..3ff1523c41 100644
--- a/src/security/vboot/vboot_lib.c
+++ b/src/security/vboot/vboot_lib.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <console/console.h>
#include <console/vtxprintf.h>
diff --git a/src/security/vboot/vboot_loader.c b/src/security/vboot/vboot_loader.c
index bee065ab90..dc8ba3777b 100644
--- a/src/security/vboot/vboot_loader.c
+++ b/src/security/vboot/vboot_loader.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <cbfs.h>
#include <console/console.h>
diff --git a/src/security/vboot/vboot_logic.c b/src/security/vboot/vboot_logic.c
index a8a7be55e7..e23dcc4ed8 100644
--- a/src/security/vboot/vboot_logic.c
+++ b/src/security/vboot/vboot_logic.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <arch/exception.h>
#include <assert.h>
diff --git a/src/security/vboot/verstage.c b/src/security/vboot/verstage.c
index e12c4cedef..d2a9705546 100644
--- a/src/security/vboot/verstage.c
+++ b/src/security/vboot/verstage.c
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* This file is part of the coreboot project. */
#include <arch/exception.h>
#include <arch/hlt.h>