aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-24 14:29:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:42:56 +0000
commitd50cde279b1523f5c6765e02c6de2af405d25982 (patch)
tree33e9f81ef413c2d829161daf7b74dd9cbaf05d7f
parente83c56ae46fd8204b8f39b6637f3ae21a6db0646 (diff)
src: Remove unused '#include <cbfs.h>'
Found using: diff <(git grep -l '#include <cbfs.h>' -- src/) <(git grep -l 'cbfs_boot_map_optionrom\|cbfs_boot_map_optionrom_revision\|cbfs_boot_locate\|cbfs_boot_map_with_leak\|cbfs_locate_file_in_region\|cbfs_boot_load_file\|cbfs_load_and_decompress\|cbfs_prog_stage_load\|cbfs_boot_region_device' -- src/) |grep '<' |grep -v vendorcode Also add missing 'include <cbfs.h>' in src/soc/qualcomm/sc7180/qupv3_config.c Change-Id: Icaecb5b910888f34cddedab7b2f64eaf6d01ad66 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41682 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/arch/riscv/fit_payload.c1
-rw-r--r--src/drivers/pc80/rtc/mc146818rtc.c1
-rw-r--r--src/mainboard/facebook/fbg1701/romstage.c1
-rw-r--r--src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c1
-rw-r--r--src/mainboard/intel/kblrvp/romstage.c1
-rw-r--r--src/mainboard/intel/tglrvp/romstage_fsp_params.c1
-rw-r--r--src/mainboard/portwell/m107/romstage.c1
-rw-r--r--src/mainboard/sifive/hifive-unleashed/media.c1
-rw-r--r--src/soc/intel/apollolake/mmap_boot.c1
-rw-r--r--src/soc/intel/xeon_sp/cpx/chip.c1
10 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/riscv/fit_payload.c b/src/arch/riscv/fit_payload.c
index 2e676c799d..abce57ee08 100644
--- a/src/arch/riscv/fit_payload.c
+++ b/src/arch/riscv/fit_payload.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <cbfs.h>
#include <commonlib/bsd/compression.h>
#include <console/console.h>
#include <bootmem.h>
diff --git a/src/drivers/pc80/rtc/mc146818rtc.c b/src/drivers/pc80/rtc/mc146818rtc.c
index 79bb5eb34a..3227510941 100644
--- a/src/drivers/pc80/rtc/mc146818rtc.c
+++ b/src/drivers/pc80/rtc/mc146818rtc.c
@@ -9,7 +9,6 @@
#include <option.h>
#include <pc80/mc146818rtc.h>
#include <rtc.h>
-#include <cbfs.h>
#include <security/vboot/vbnv.h>
#include <security/vboot/vbnv_layout.h>
#include <types.h>
diff --git a/src/mainboard/facebook/fbg1701/romstage.c b/src/mainboard/facebook/fbg1701/romstage.c
index 6dafd8a290..f307f95d73 100644
--- a/src/mainboard/facebook/fbg1701/romstage.c
+++ b/src/mainboard/facebook/fbg1701/romstage.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <build.h>
-#include <cbfs.h>
#include <console/console.h>
#include <chip.h>
#include <device/pci_ops.h>
diff --git a/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c b/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
index 2cd86379b4..5b7445f067 100644
--- a/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/cannonlake_rvp/romstage_fsp_params.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/intel/kblrvp/romstage.c b/src/mainboard/intel/kblrvp/romstage.c
index 281a24f8b5..a3fb285d54 100644
--- a/src/mainboard/intel/kblrvp/romstage.c
+++ b/src/mainboard/intel/kblrvp/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/api.h>
#include <gpio.h>
diff --git a/src/mainboard/intel/tglrvp/romstage_fsp_params.c b/src/mainboard/intel/tglrvp/romstage_fsp_params.c
index d4433a1d66..47507f4eed 100644
--- a/src/mainboard/intel/tglrvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/tglrvp/romstage_fsp_params.c
@@ -6,7 +6,6 @@
#include <spd_bin.h>
#include <soc/meminit.h>
#include <baseboard/variants.h>
-#include <cbfs.h>
#include "board_id.h"
#include "spd/spd.h"
diff --git a/src/mainboard/portwell/m107/romstage.c b/src/mainboard/portwell/m107/romstage.c
index 4f666e2ebf..3ba12f30ff 100644
--- a/src/mainboard/portwell/m107/romstage.c
+++ b/src/mainboard/portwell/m107/romstage.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <cbfs.h>
#include <console/console.h>
#include <chip.h>
#include <device/pci_ops.h>
diff --git a/src/mainboard/sifive/hifive-unleashed/media.c b/src/mainboard/sifive/hifive-unleashed/media.c
index 9f91bcb309..2ba6d2b870 100644
--- a/src/mainboard/sifive/hifive-unleashed/media.c
+++ b/src/mainboard/sifive/hifive-unleashed/media.c
@@ -2,7 +2,6 @@
#include <boot_device.h>
#include <symbols.h>
-#include <cbfs.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/spi.h>
diff --git a/src/soc/intel/apollolake/mmap_boot.c b/src/soc/intel/apollolake/mmap_boot.c
index b37d760ed0..30c629e4de 100644
--- a/src/soc/intel/apollolake/mmap_boot.c
+++ b/src/soc/intel/apollolake/mmap_boot.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <boot_device.h>
-#include <cbfs.h>
#include <commonlib/region.h>
#include <console/console.h>
#include <fmap.h>
diff --git a/src/soc/intel/xeon_sp/cpx/chip.c b/src/soc/intel/xeon_sp/cpx/chip.c
index 2125f0a891..c19c0cf93c 100644
--- a/src/soc/intel/xeon_sp/cpx/chip.c
+++ b/src/soc/intel/xeon_sp/cpx/chip.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/ioapic.h>
-#include <cbfs.h>
#include <console/console.h>
#include <cpu/x86/lapic.h>
#include <device/pci.h>