summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-27 18:52:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-11-16 10:26:32 +0000
commit55d6238fa6cd6297a4bad5c34b6618d52e848618 (patch)
treeb464dd8344cb898a0267559f26e4cea522ee9e38 /src
parent52fdc050139649ce17df82e98e59e78e79418801 (diff)
downloadcoreboot-55d6238fa6cd6297a4bad5c34b6618d52e848618.tar.xz
src: Remove unneeded include <cbfs.h>
Change-Id: Iab0bd1c5482331a0c048a05ab806bf5c4dbda780 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29303 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/intel/haswell/romstage.c1
-rw-r--r--src/drivers/intel/fsp1_1/ramstage.c1
-rw-r--r--src/drivers/intel/fsp1_1/vbt.c1
-rw-r--r--src/drivers/intel/fsp2_0/graphics.c1
-rw-r--r--src/drivers/intel/fsp2_0/util.c1
-rw-r--r--src/drivers/spi/spi_flash.c1
-rw-r--r--src/mainboard/asus/f2a85-m/BiosCallOuts.c1
-rw-r--r--src/mainboard/cubietech/cubieboard/romstage.c1
-rw-r--r--src/mainboard/google/beltino/romstage.c1
-rw-r--r--src/mainboard/google/butterfly/romstage.c1
-rw-r--r--src/mainboard/google/daisy/romstage.c1
-rw-r--r--src/mainboard/google/jecht/romstage.c1
-rw-r--r--src/mainboard/google/nyan/romstage.c1
-rw-r--r--src/mainboard/google/nyan_big/romstage.c1
-rw-r--r--src/mainboard/google/nyan_blaze/romstage.c1
-rw-r--r--src/mainboard/google/parrot/romstage.c1
-rw-r--r--src/mainboard/google/peach_pit/romstage.c1
-rw-r--r--src/mainboard/google/stout/romstage.c1
-rw-r--r--src/mainboard/google/veyron/romstage.c1
-rw-r--r--src/mainboard/google/veyron_mickey/romstage.c1
-rw-r--r--src/mainboard/google/veyron_rialto/romstage.c1
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/BiosCallOuts.c1
-rw-r--r--src/mainboard/intel/cannonlake_rvp/spd/spd_util.c1
-rw-r--r--src/mainboard/intel/icelake_rvp/romstage_fsp_params.c1
-rw-r--r--src/mainboard/intel/icelake_rvp/spd/spd_util.c1
-rw-r--r--src/mainboard/intel/kblrvp/spd/spd_util.c1
-rw-r--r--src/mainboard/intel/kunimitsu/romstage_fsp20.c1
-rw-r--r--src/mainboard/intel/kunimitsu/spd/spd.c1
-rw-r--r--src/mainboard/intel/saddlebrook/romstage.c1
-rw-r--r--src/mainboard/intel/strago/romstage.c1
-rw-r--r--src/mainboard/lenovo/g505s/BiosCallOuts.c1
-rw-r--r--src/mainboard/msi/ms7721/BiosCallOuts.c1
-rw-r--r--src/mainboard/siemens/mc_tcu3/lcd_panel.c2
-rw-r--r--src/mainboard/ti/beaglebone/romstage.c1
-rw-r--r--src/northbridge/intel/nehalem/raminit.c1
-rw-r--r--src/security/vboot/common.c1
-rw-r--r--src/security/vboot/vboot_handoff.c1
-rw-r--r--src/soc/broadcom/cygnus/romstage.c1
-rw-r--r--src/soc/intel/apollolake/romstage.c1
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c1
-rw-r--r--src/soc/intel/braswell/acpi.c1
-rw-r--r--src/soc/intel/broadwell/romstage/romstage.c1
-rw-r--r--src/soc/intel/common/vbt.c1
-rw-r--r--src/soc/intel/denverton_ns/memmap.c1
-rw-r--r--src/soc/mediatek/mt8173/include/soc/flash_controller.h1
-rw-r--r--src/soc/nvidia/tegra124/bootblock.c1
-rw-r--r--src/soc/nvidia/tegra124/spi.c1
-rw-r--r--src/soc/nvidia/tegra210/ccplex.c1
-rw-r--r--src/soc/nvidia/tegra210/romstage.c1
-rw-r--r--src/soc/nvidia/tegra210/spi.c1
-rw-r--r--src/soc/rockchip/common/i2c.c1
-rw-r--r--src/southbridge/intel/bd82x6x/early_pch.c1
52 files changed, 1 insertions, 52 deletions
diff --git a/src/cpu/intel/haswell/romstage.c b/src/cpu/intel/haswell/romstage.c
index 7e4efa735c..a25f8836be 100644
--- a/src/cpu/intel/haswell/romstage.c
+++ b/src/cpu/intel/haswell/romstage.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <string.h>
-#include <cbfs.h>
#include <console/console.h>
#include <arch/cpu.h>
#include <cf9_reset.h>
diff --git a/src/drivers/intel/fsp1_1/ramstage.c b/src/drivers/intel/fsp1_1/ramstage.c
index 2b857ab0f0..bfc58f865c 100644
--- a/src/drivers/intel/fsp1_1/ramstage.c
+++ b/src/drivers/intel/fsp1_1/ramstage.c
@@ -17,7 +17,6 @@
#include <bootmode.h>
#include <arch/acpi.h>
#include <cbmem.h>
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/memmap.h>
#include <fsp/ramstage.h>
diff --git a/src/drivers/intel/fsp1_1/vbt.c b/src/drivers/intel/fsp1_1/vbt.c
index b6bb308ed9..90012ffb32 100644
--- a/src/drivers/intel/fsp1_1/vbt.c
+++ b/src/drivers/intel/fsp1_1/vbt.c
@@ -15,7 +15,6 @@
*/
#include <bootmode.h>
-#include <cbfs.h>
#include <console/console.h>
#include <drivers/intel/gma/opregion.h>
#include <fsp/ramstage.h>
diff --git a/src/drivers/intel/fsp2_0/graphics.c b/src/drivers/intel/fsp2_0/graphics.c
index e8514974d7..e0c63d2570 100644
--- a/src/drivers/intel/fsp2_0/graphics.c
+++ b/src/drivers/intel/fsp2_0/graphics.c
@@ -10,7 +10,6 @@
* (at your option) any later version.
*/
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/util.h>
#include <soc/intel/common/vbt.h>
diff --git a/src/drivers/intel/fsp2_0/util.c b/src/drivers/intel/fsp2_0/util.c
index 8c0af2eacf..1f08c3461c 100644
--- a/src/drivers/intel/fsp2_0/util.c
+++ b/src/drivers/intel/fsp2_0/util.c
@@ -12,7 +12,6 @@
*/
#include <arch/io.h>
-#include <cbfs.h>
#include <cf9_reset.h>
#include <console/console.h>
#include <fsp/util.h>
diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index b0b58993a6..1b835a15ae 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -10,7 +10,6 @@
#include <arch/early_variables.h>
#include <assert.h>
#include <boot_device.h>
-#include <cbfs.h>
#include <cpu/x86/smm.h>
#include <delay.h>
#include <rules.h>
diff --git a/src/mainboard/asus/f2a85-m/BiosCallOuts.c b/src/mainboard/asus/f2a85-m/BiosCallOuts.c
index 9b1107933f..45e174c922 100644
--- a/src/mainboard/asus/f2a85-m/BiosCallOuts.c
+++ b/src/mainboard/asus/f2a85-m/BiosCallOuts.c
@@ -17,7 +17,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
-#include <cbfs.h>
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
#include <stdlib.h>
diff --git a/src/mainboard/cubietech/cubieboard/romstage.c b/src/mainboard/cubietech/cubieboard/romstage.c
index 6af46d9755..665eb9d7c1 100644
--- a/src/mainboard/cubietech/cubieboard/romstage.c
+++ b/src/mainboard/cubietech/cubieboard/romstage.c
@@ -24,7 +24,6 @@
*/
#include <arch/stages.h>
-#include <cbfs.h>
#include <console/console.h>
#include <cpu/allwinner/a10/clock.h>
#include <cpu/allwinner/a10/gpio.h>
diff --git a/src/mainboard/google/beltino/romstage.c b/src/mainboard/google/beltino/romstage.c
index 1420faa244..1b9997e5fc 100644
--- a/src/mainboard/google/beltino/romstage.c
+++ b/src/mainboard/google/beltino/romstage.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <cbfs.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/mainboard/google/butterfly/romstage.c b/src/mainboard/google/butterfly/romstage.c
index 595806b100..b895790163 100644
--- a/src/mainboard/google/butterfly/romstage.c
+++ b/src/mainboard/google/butterfly/romstage.c
@@ -31,7 +31,6 @@
#if IS_ENABLED(CONFIG_CHROMEOS)
#include <vendorcode/google/chromeos/chromeos.h>
#endif
-#include <cbfs.h>
void pch_enable_lpc(void)
{
diff --git a/src/mainboard/google/daisy/romstage.c b/src/mainboard/google/daisy/romstage.c
index 24c9034ef7..3886ce4a79 100644
--- a/src/mainboard/google/daisy/romstage.c
+++ b/src/mainboard/google/daisy/romstage.c
@@ -17,7 +17,6 @@
#include <arch/exception.h>
#include <arch/stages.h>
#include <armv7.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <program_loading.h>
diff --git a/src/mainboard/google/jecht/romstage.c b/src/mainboard/google/jecht/romstage.c
index c3a57202dd..7eccca97cb 100644
--- a/src/mainboard/google/jecht/romstage.c
+++ b/src/mainboard/google/jecht/romstage.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <cbfs.h>
#include <console/console.h>
#include <string.h>
#include <ec/google/chromeec/ec.h>
diff --git a/src/mainboard/google/nyan/romstage.c b/src/mainboard/google/nyan/romstage.c
index ba5c0e23ab..f3304ae392 100644
--- a/src/mainboard/google/nyan/romstage.c
+++ b/src/mainboard/google/nyan/romstage.c
@@ -16,7 +16,6 @@
#include <arch/cache.h>
#include <arch/exception.h>
#include <arch/io.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <reset.h>
diff --git a/src/mainboard/google/nyan_big/romstage.c b/src/mainboard/google/nyan_big/romstage.c
index ba5c0e23ab..f3304ae392 100644
--- a/src/mainboard/google/nyan_big/romstage.c
+++ b/src/mainboard/google/nyan_big/romstage.c
@@ -16,7 +16,6 @@
#include <arch/cache.h>
#include <arch/exception.h>
#include <arch/io.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <reset.h>
diff --git a/src/mainboard/google/nyan_blaze/romstage.c b/src/mainboard/google/nyan_blaze/romstage.c
index 34967b6180..602989df27 100644
--- a/src/mainboard/google/nyan_blaze/romstage.c
+++ b/src/mainboard/google/nyan_blaze/romstage.c
@@ -16,7 +16,6 @@
#include <arch/cache.h>
#include <arch/exception.h>
#include <arch/io.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <reset.h>
diff --git a/src/mainboard/google/parrot/romstage.c b/src/mainboard/google/parrot/romstage.c
index 143baf7a40..54eb0d0c44 100644
--- a/src/mainboard/google/parrot/romstage.c
+++ b/src/mainboard/google/parrot/romstage.c
@@ -28,7 +28,6 @@
#include <southbridge/intel/bd82x6x/pch.h>
#include <southbridge/intel/common/gpio.h>
#include <halt.h>
-#include <cbfs.h>
#include "ec/compal/ene932/ec.h"
void pch_enable_lpc(void)
diff --git a/src/mainboard/google/peach_pit/romstage.c b/src/mainboard/google/peach_pit/romstage.c
index 751b40b650..3992e75c08 100644
--- a/src/mainboard/google/peach_pit/romstage.c
+++ b/src/mainboard/google/peach_pit/romstage.c
@@ -18,7 +18,6 @@
#include <arch/stages.h>
#include <armv7.h>
#include <boot_device.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <commonlib/region.h>
#include <console/console.h>
diff --git a/src/mainboard/google/stout/romstage.c b/src/mainboard/google/stout/romstage.c
index a0e828dc4e..04fac3b1a5 100644
--- a/src/mainboard/google/stout/romstage.c
+++ b/src/mainboard/google/stout/romstage.c
@@ -30,7 +30,6 @@
#include <southbridge/intel/common/gpio.h>
#include <halt.h>
#include <bootmode.h>
-#include <cbfs.h>
#include <ec/quanta/it8518/ec.h>
#include "ec.h"
#include "onboard.h"
diff --git a/src/mainboard/google/veyron/romstage.c b/src/mainboard/google/veyron/romstage.c
index bacbeca2d2..c1a1188d9d 100644
--- a/src/mainboard/google/veyron/romstage.c
+++ b/src/mainboard/google/veyron/romstage.c
@@ -18,7 +18,6 @@
#include <arch/stages.h>
#include <armv7.h>
#include <assert.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/mainboard/google/veyron_mickey/romstage.c b/src/mainboard/google/veyron_mickey/romstage.c
index 1c139f1c2b..25a3d6cdcc 100644
--- a/src/mainboard/google/veyron_mickey/romstage.c
+++ b/src/mainboard/google/veyron_mickey/romstage.c
@@ -18,7 +18,6 @@
#include <arch/stages.h>
#include <armv7.h>
#include <assert.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/mainboard/google/veyron_rialto/romstage.c b/src/mainboard/google/veyron_rialto/romstage.c
index 62a03f5aba..f12599462c 100644
--- a/src/mainboard/google/veyron_rialto/romstage.c
+++ b/src/mainboard/google/veyron_rialto/romstage.c
@@ -19,7 +19,6 @@
#include <arch/stages.h>
#include <armv7.h>
#include <assert.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/BiosCallOuts.c b/src/mainboard/hp/pavilion_m6_1035dx/BiosCallOuts.c
index b365989140..9c6c9b68f7 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/BiosCallOuts.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/BiosCallOuts.c
@@ -17,7 +17,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
-#include <cbfs.h>
#include <southbridge/amd/agesa/hudson/imc.h>
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
#include <stdlib.h>
diff --git a/src/mainboard/intel/cannonlake_rvp/spd/spd_util.c b/src/mainboard/intel/cannonlake_rvp/spd/spd_util.c
index 31f5452603..390929e692 100644
--- a/src/mainboard/intel/cannonlake_rvp/spd/spd_util.c
+++ b/src/mainboard/intel/cannonlake_rvp/spd/spd_util.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <console/console.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/mainboard/intel/icelake_rvp/romstage_fsp_params.c b/src/mainboard/intel/icelake_rvp/romstage_fsp_params.c
index 3ee98a1d9b..2d23fa3c68 100644
--- a/src/mainboard/intel/icelake_rvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/icelake_rvp/romstage_fsp_params.c
@@ -14,7 +14,6 @@
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/api.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/intel/icelake_rvp/spd/spd_util.c b/src/mainboard/intel/icelake_rvp/spd/spd_util.c
index 9855afa2b3..25f7f20887 100644
--- a/src/mainboard/intel/icelake_rvp/spd/spd_util.c
+++ b/src/mainboard/intel/icelake_rvp/spd/spd_util.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <console/console.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/mainboard/intel/kblrvp/spd/spd_util.c b/src/mainboard/intel/kblrvp/spd/spd_util.c
index 181af9f0e4..12d9d10b36 100644
--- a/src/mainboard/intel/kblrvp/spd/spd_util.c
+++ b/src/mainboard/intel/kblrvp/spd/spd_util.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <console/console.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/mainboard/intel/kunimitsu/romstage_fsp20.c b/src/mainboard/intel/kunimitsu/romstage_fsp20.c
index 8917989259..285239a3c9 100644
--- a/src/mainboard/intel/kunimitsu/romstage_fsp20.c
+++ b/src/mainboard/intel/kunimitsu/romstage_fsp20.c
@@ -14,7 +14,6 @@
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <fsp/api.h>
#include <gpio.h>
#include "gpio.h"
diff --git a/src/mainboard/intel/kunimitsu/spd/spd.c b/src/mainboard/intel/kunimitsu/spd/spd.c
index fe30621316..8656d4bc17 100644
--- a/src/mainboard/intel/kunimitsu/spd/spd.c
+++ b/src/mainboard/intel/kunimitsu/spd/spd.c
@@ -15,7 +15,6 @@
*/
#include <arch/byteorder.h>
-#include <cbfs.h>
#include <console/console.h>
#include <soc/pei_data.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/intel/saddlebrook/romstage.c b/src/mainboard/intel/saddlebrook/romstage.c
index f65b52d31f..5b4732a8c7 100644
--- a/src/mainboard/intel/saddlebrook/romstage.c
+++ b/src/mainboard/intel/saddlebrook/romstage.c
@@ -15,7 +15,6 @@
* GNU General Public License for more details.
*/
-#include <cbfs.h>
#include <console/console.h>
#include <fsp/api.h>
#include <string.h>
diff --git a/src/mainboard/intel/strago/romstage.c b/src/mainboard/intel/strago/romstage.c
index b702310f45..c25e31723c 100644
--- a/src/mainboard/intel/strago/romstage.c
+++ b/src/mainboard/intel/strago/romstage.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <cbfs.h>
#include <soc/gpio.h>
#include <soc/pci_devs.h>
#include <soc/romstage.h>
diff --git a/src/mainboard/lenovo/g505s/BiosCallOuts.c b/src/mainboard/lenovo/g505s/BiosCallOuts.c
index b365989140..9c6c9b68f7 100644
--- a/src/mainboard/lenovo/g505s/BiosCallOuts.c
+++ b/src/mainboard/lenovo/g505s/BiosCallOuts.c
@@ -17,7 +17,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
-#include <cbfs.h>
#include <southbridge/amd/agesa/hudson/imc.h>
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
#include <stdlib.h>
diff --git a/src/mainboard/msi/ms7721/BiosCallOuts.c b/src/mainboard/msi/ms7721/BiosCallOuts.c
index 48881531a1..c502d6a601 100644
--- a/src/mainboard/msi/ms7721/BiosCallOuts.c
+++ b/src/mainboard/msi/ms7721/BiosCallOuts.c
@@ -18,7 +18,6 @@
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
-#include <cbfs.h>
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
#include <stdlib.h>
diff --git a/src/mainboard/siemens/mc_tcu3/lcd_panel.c b/src/mainboard/siemens/mc_tcu3/lcd_panel.c
index f48bd56386..c4456afb7a 100644
--- a/src/mainboard/siemens/mc_tcu3/lcd_panel.c
+++ b/src/mainboard/siemens/mc_tcu3/lcd_panel.c
@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
-#include <cbfs.h>
+
#include <console/console.h>
#include <string.h>
#include "soc/gpio.h"
diff --git a/src/mainboard/ti/beaglebone/romstage.c b/src/mainboard/ti/beaglebone/romstage.c
index e7adf5ff97..e809ce4f5b 100644
--- a/src/mainboard/ti/beaglebone/romstage.c
+++ b/src/mainboard/ti/beaglebone/romstage.c
@@ -16,7 +16,6 @@
#include <types.h>
#include <armv7.h>
-#include <cbfs.h>
#include <program_loading.h>
#include <console/console.h>
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index ee5a60b5e7..d0dfb7592d 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -21,7 +21,6 @@
#include <cpu/x86/msr.h>
#include <cbmem.h>
#include <arch/cbfs.h>
-#include <cbfs.h>
#include <ip_checksum.h>
#include <pc80/mc146818rtc.h>
#include <device/pci_def.h>
diff --git a/src/security/vboot/common.c b/src/security/vboot/common.c
index 51343f8139..747644a062 100644
--- a/src/security/vboot/common.c
+++ b/src/security/vboot/common.c
@@ -14,7 +14,6 @@
*/
#include <assert.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <reset.h>
#include <string.h>
diff --git a/src/security/vboot/vboot_handoff.c b/src/security/vboot/vboot_handoff.c
index 9fecc1a1a8..684b4956ca 100644
--- a/src/security/vboot/vboot_handoff.c
+++ b/src/security/vboot/vboot_handoff.c
@@ -26,7 +26,6 @@
#include <assert.h>
#include <bootmode.h>
#include <string.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <console/vtxprintf.h>
diff --git a/src/soc/broadcom/cygnus/romstage.c b/src/soc/broadcom/cygnus/romstage.c
index eab4e609a1..6af7704c06 100644
--- a/src/soc/broadcom/cygnus/romstage.c
+++ b/src/soc/broadcom/cygnus/romstage.c
@@ -17,7 +17,6 @@
#include <arch/exception.h>
#include <arch/stages.h>
#include <armv7.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <delay.h>
diff --git a/src/soc/intel/apollolake/romstage.c b/src/soc/intel/apollolake/romstage.c
index c20097e5d1..4f4f9f53c5 100644
--- a/src/soc/intel/apollolake/romstage.c
+++ b/src/soc/intel/apollolake/romstage.c
@@ -22,7 +22,6 @@
#include <arch/symbols.h>
#include <assert.h>
#include <bootmode.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <cf9_reset.h>
#include <console/console.h>
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c
index af67434a92..18c9353d10 100644
--- a/src/soc/intel/baytrail/romstage/romstage.c
+++ b/src/soc/intel/baytrail/romstage/romstage.c
@@ -18,7 +18,6 @@
#include <arch/io.h>
#include <arch/early_variables.h>
#include <console/console.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <cpu/x86/mtrr.h>
#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC)
diff --git a/src/soc/intel/braswell/acpi.c b/src/soc/intel/braswell/acpi.c
index f402f54c66..820e56a6f7 100644
--- a/src/soc/intel/braswell/acpi.c
+++ b/src/soc/intel/braswell/acpi.c
@@ -20,7 +20,6 @@
#include <arch/cpu.h>
#include <arch/io.h>
#include <arch/smp/mpspec.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <cpu/intel/turbo.h>
diff --git a/src/soc/intel/broadwell/romstage/romstage.c b/src/soc/intel/broadwell/romstage/romstage.c
index cc8bf5d69c..b15057484c 100644
--- a/src/soc/intel/broadwell/romstage/romstage.c
+++ b/src/soc/intel/broadwell/romstage/romstage.c
@@ -20,7 +20,6 @@
#include <arch/early_variables.h>
#include <bootmode.h>
#include <console/console.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <cpu/x86/mtrr.h>
#include <elog.h>
diff --git a/src/soc/intel/common/vbt.c b/src/soc/intel/common/vbt.c
index 3dd46fb5f8..0bc3039064 100644
--- a/src/soc/intel/common/vbt.c
+++ b/src/soc/intel/common/vbt.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <cbfs.h>
#include <arch/acpi.h>
#include <bootmode.h>
#include <bootstate.h>
diff --git a/src/soc/intel/denverton_ns/memmap.c b/src/soc/intel/denverton_ns/memmap.c
index 21e069fc95..a42d861420 100644
--- a/src/soc/intel/denverton_ns/memmap.c
+++ b/src/soc/intel/denverton_ns/memmap.c
@@ -15,7 +15,6 @@
*/
#include <arch/io.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <assert.h>
#include <device/device.h>
diff --git a/src/soc/mediatek/mt8173/include/soc/flash_controller.h b/src/soc/mediatek/mt8173/include/soc/flash_controller.h
index da306c5f0a..8d7db8ba50 100644
--- a/src/soc/mediatek/mt8173/include/soc/flash_controller.h
+++ b/src/soc/mediatek/mt8173/include/soc/flash_controller.h
@@ -16,7 +16,6 @@
#ifndef __SOC_MEDIATEK_MT8173_FLASH_CONTROLLER_H__
#define __SOC_MEDIATEK_MT8173_FLASH_CONTROLLER_H__
-#include <cbfs.h>
#include <spi-generic.h>
#include <stdint.h>
#include <soc/addressmap.h>
diff --git a/src/soc/nvidia/tegra124/bootblock.c b/src/soc/nvidia/tegra124/bootblock.c
index ce41242299..182fadb6d4 100644
--- a/src/soc/nvidia/tegra124/bootblock.c
+++ b/src/soc/nvidia/tegra124/bootblock.c
@@ -17,7 +17,6 @@
#include <arch/exception.h>
#include <arch/stages.h>
#include <bootblock_common.h>
-#include <cbfs.h>
#include <console/console.h>
#include <program_loading.h>
#include <soc/clock.h>
diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c
index ae07d53fed..f7665d8493 100644
--- a/src/soc/nvidia/tegra124/spi.c
+++ b/src/soc/nvidia/tegra124/spi.c
@@ -19,7 +19,6 @@
#include <assert.h>
#include <boot_device.h>
#include <console/console.h>
-#include <cbfs.h>
#include <delay.h>
#include <inttypes.h>
#include <soc/addressmap.h>
diff --git a/src/soc/nvidia/tegra210/ccplex.c b/src/soc/nvidia/tegra210/ccplex.c
index 8759c73227..867f106d8e 100644
--- a/src/soc/nvidia/tegra210/ccplex.c
+++ b/src/soc/nvidia/tegra210/ccplex.c
@@ -14,7 +14,6 @@
*/
#include <arch/io.h>
-#include <cbfs.h>
#include <console/console.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
diff --git a/src/soc/nvidia/tegra210/romstage.c b/src/soc/nvidia/tegra210/romstage.c
index 07bf5d43f8..bce8404707 100644
--- a/src/soc/nvidia/tegra210/romstage.c
+++ b/src/soc/nvidia/tegra210/romstage.c
@@ -15,7 +15,6 @@
#include <arch/exception.h>
#include <arch/stages.h>
-#include <cbfs.h>
#include <cbmem.h>
#include <console/cbmem_console.h>
#include <console/console.h>
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c
index 54e46f13d6..ad6e200f1e 100644
--- a/src/soc/nvidia/tegra210/spi.c
+++ b/src/soc/nvidia/tegra210/spi.c
@@ -18,7 +18,6 @@
#include <arch/io.h>
#include <assert.h>
#include <boot_device.h>
-#include <cbfs.h>
#include <console/console.h>
#include <delay.h>
#include <inttypes.h>
diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c
index 09b56246fd..f99b3b57ce 100644
--- a/src/soc/rockchip/common/i2c.c
+++ b/src/soc/rockchip/common/i2c.c
@@ -15,7 +15,6 @@
#include <arch/io.h>
#include <assert.h>
-#include <cbfs.h>
#include <console/console.h>
#include <delay.h>
#include <device/i2c_simple.h>
diff --git a/src/southbridge/intel/bd82x6x/early_pch.c b/src/southbridge/intel/bd82x6x/early_pch.c
index 1254a16dc0..aa69981361 100644
--- a/src/southbridge/intel/bd82x6x/early_pch.c
+++ b/src/southbridge/intel/bd82x6x/early_pch.c
@@ -17,7 +17,6 @@
#include <arch/io.h>
#include <cbmem.h>
#include <arch/cbfs.h>
-#include <cbfs.h>
#include <ip_checksum.h>
#include <pc80/mc146818rtc.h>
#include <device/pci_def.h>