summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-12-19 19:27:12 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-12-22 17:28:23 +0000
commitb3a411cc7daa4068b2032a9343613dbb55636e0d (patch)
treec2ba1989217af36c375ea1dc2ee3353cee701c70 /src/soc/intel/baytrail
parent42af26c5271efecef5ebbfbce5e4c9428bddb7b9 (diff)
downloadcoreboot-b3a411cc7daa4068b2032a9343613dbb55636e0d.tar.xz
sb,soc/intel: Drop unnecessary headers
Files under sb/ or soc/ should not have includes that tie those directly to external components like ChromeEC os ChromeOS vendorcode. Change-Id: Ib56eeedaa9d7422e221efa9c8480ed5e12024bca Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48765 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/romstage/raminit.c2
-rw-r--r--src/soc/intel/baytrail/romstage/romstage.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/soc/intel/baytrail/romstage/raminit.c b/src/soc/intel/baytrail/romstage/raminit.c
index 10ad93298b..f922750a36 100644
--- a/src/soc/intel/baytrail/romstage/raminit.c
+++ b/src/soc/intel/baytrail/romstage/raminit.c
@@ -17,8 +17,6 @@
#include <soc/iosf.h>
#include <soc/pci_devs.h>
#include <soc/romstage.h>
-#include <ec/google/chromeec/ec.h>
-#include <ec/google/chromeec/ec_commands.h>
#include <security/vboot/vboot_common.h>
uintptr_t smbus_base(void)
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c
index 76aa711fc8..b0d380cb6f 100644
--- a/src/soc/intel/baytrail/romstage/romstage.c
+++ b/src/soc/intel/baytrail/romstage/romstage.c
@@ -6,9 +6,6 @@
#include <device/pci_ops.h>
#include <console/console.h>
#include <cbmem.h>
-#if CONFIG(EC_GOOGLE_CHROMEEC)
-#include <ec/google/chromeec/ec.h>
-#endif
#include <elog.h>
#include <romstage_handoff.h>
#include <string.h>