summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-03-26 21:04:18 -0500
committerAaron Durbin <adurbin@google.com>2015-03-31 23:03:10 +0200
commit67514a7a5f9b612fc87991fd9b617048763a04b8 (patch)
treea0acefae1a27ca7e296e933ba28e0ebfeb0fbf89
parentf786652af1c315fbe27221217aab0e845851acb5 (diff)
cbfs: remove cbfs_core.h includes
Some of the files which include cbfs_core.h don't even need the header definition while others just need the cbfs API which can be obtained from cbfs.h. Change-Id: I34f3b7c67f64380dcf957e662ffca2baefc31a90 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/9126 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--src/drivers/intel/gma/intel_ddi.c1
-rw-r--r--src/lib/rmodule.c2
-rw-r--r--src/mainboard/google/falco/gma.c1
-rw-r--r--src/mainboard/google/link/i915.c1
-rw-r--r--src/mainboard/google/peppy/gma.c1
-rw-r--r--src/mainboard/intel/wtm2/i915.c1
-rw-r--r--src/soc/nvidia/tegra124/spi.c1
-rw-r--r--src/soc/nvidia/tegra132/spi.c1
8 files changed, 1 insertions, 8 deletions
diff --git a/src/drivers/intel/gma/intel_ddi.c b/src/drivers/intel/gma/intel_ddi.c
index e51fb9ce13..9127060ece 100644
--- a/src/drivers/intel/gma/intel_ddi.c
+++ b/src/drivers/intel/gma/intel_ddi.c
@@ -42,7 +42,6 @@
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-#include <cbfs_core.h>
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c
index 791029a250..d06409f490 100644
--- a/src/lib/rmodule.c
+++ b/src/lib/rmodule.c
@@ -18,7 +18,7 @@
*/
#include <assert.h>
#include <cbmem.h>
-#include <cbfs_core.h>
+#include <cbfs.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/mainboard/google/falco/gma.c b/src/mainboard/google/falco/gma.c
index 6e3afdbf34..018075cceb 100644
--- a/src/mainboard/google/falco/gma.c
+++ b/src/mainboard/google/falco/gma.c
@@ -34,7 +34,6 @@
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-#include <cbfs_core.h>
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index a9028dd63e..e377e43f28 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -38,7 +38,6 @@
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-#include <cbfs_core.h>
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
diff --git a/src/mainboard/google/peppy/gma.c b/src/mainboard/google/peppy/gma.c
index 953dad9a09..8997da6abb 100644
--- a/src/mainboard/google/peppy/gma.c
+++ b/src/mainboard/google/peppy/gma.c
@@ -34,7 +34,6 @@
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-#include <cbfs_core.h>
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
diff --git a/src/mainboard/intel/wtm2/i915.c b/src/mainboard/intel/wtm2/i915.c
index 72957a0de4..3fb8acb521 100644
--- a/src/mainboard/intel/wtm2/i915.c
+++ b/src/mainboard/intel/wtm2/i915.c
@@ -34,7 +34,6 @@
#include <smbios.h>
#include <device/pci.h>
#include <ec/google/chromeec/ec.h>
-#include <cbfs_core.h>
#include <cpu/x86/tsc.h>
#include <cpu/x86/cache.h>
diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c
index 78a17d9b53..b88306bb4a 100644
--- a/src/soc/nvidia/tegra124/spi.c
+++ b/src/soc/nvidia/tegra124/spi.c
@@ -20,7 +20,6 @@
#include <assert.h>
#include <cbfs.h>
-#include <cbfs_core.h>
#include <inttypes.h>
#include <spi-generic.h>
#include <spi_flash.h>
diff --git a/src/soc/nvidia/tegra132/spi.c b/src/soc/nvidia/tegra132/spi.c
index 882a6ad344..219998c88d 100644
--- a/src/soc/nvidia/tegra132/spi.c
+++ b/src/soc/nvidia/tegra132/spi.c
@@ -20,7 +20,6 @@
#include <assert.h>
#include <cbfs.h>
-#include <cbfs_core.h>
#include <inttypes.h>
#include <spi-generic.h>
#include <spi_flash.h>