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>
This commit is contained in:
Elyes HAOUAS 2020-05-24 14:29:27 +02:00 committed by Patrick Georgi
parent e83c56ae46
commit d50cde279b
10 changed files with 0 additions and 10 deletions

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
#include <cbfs.h>
#include <commonlib/bsd/compression.h> #include <commonlib/bsd/compression.h>
#include <console/console.h> #include <console/console.h>
#include <bootmem.h> #include <bootmem.h>

View File

@ -9,7 +9,6 @@
#include <option.h> #include <option.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <rtc.h> #include <rtc.h>
#include <cbfs.h>
#include <security/vboot/vbnv.h> #include <security/vboot/vbnv.h>
#include <security/vboot/vbnv_layout.h> #include <security/vboot/vbnv_layout.h>
#include <types.h> #include <types.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <build.h> #include <build.h>
#include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <chip.h> #include <chip.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <fsp/api.h> #include <fsp/api.h>
#include <soc/romstage.h> #include <soc/romstage.h>

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <fsp/api.h> #include <fsp/api.h>
#include <gpio.h> #include <gpio.h>

View File

@ -6,7 +6,6 @@
#include <spd_bin.h> #include <spd_bin.h>
#include <soc/meminit.h> #include <soc/meminit.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <cbfs.h>
#include "board_id.h" #include "board_id.h"
#include "spd/spd.h" #include "spd/spd.h"

View File

@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <chip.h> #include <chip.h>
#include <device/pci_ops.h> #include <device/pci_ops.h>

View File

@ -2,7 +2,6 @@
#include <boot_device.h> #include <boot_device.h>
#include <symbols.h> #include <symbols.h>
#include <cbfs.h>
#include <device/mmio.h> #include <device/mmio.h>
#include <soc/addressmap.h> #include <soc/addressmap.h>
#include <soc/spi.h> #include <soc/spi.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* SPDX-License-Identifier: GPL-2.0-or-later */
#include <boot_device.h> #include <boot_device.h>
#include <cbfs.h>
#include <commonlib/region.h> #include <commonlib/region.h>
#include <console/console.h> #include <console/console.h>
#include <fmap.h> #include <fmap.h>

View File

@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <arch/ioapic.h> #include <arch/ioapic.h>
#include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
#include <device/pci.h> #include <device/pci.h>