summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
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 /src/mainboard/intel
parente83c56ae46fd8204b8f39b6637f3ae21a6db0646 (diff)
downloadcoreboot-d50cde279b1523f5c6765e02c6de2af405d25982.tar.xz
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>
Diffstat (limited to 'src/mainboard/intel')
-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
3 files changed, 0 insertions, 3 deletions
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"