summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-02-03 14:44:55 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-13 12:23:42 +0200
commit24d4dae00f5bb2c1d921ec28726826ddaa3e1564 (patch)
tree7e4809c96dc6541f5871d501ac57cc397dc3092c /src
parente319e4843e061e1c6c09939c84d9b72c29f2fb35 (diff)
downloadcoreboot-24d4dae00f5bb2c1d921ec28726826ddaa3e1564.tar.xz
vboot: remove vboot_handoff.h from chromeos.h
chromeos.h includes vboot_handoff.h, which includes vboot_api.h. since vboot_api.h is not available to non-chromeos projects, build fails for some boards (e.g. glados). this change removes (unnecessary) inclusion of vboot_handoff.h in chromeos.h and fixes other files which rely on indirect inclusion of vboot_handoff.h by making it direct. BUG=none BRANCH=tot TEST=built for cosmos, falco, lumpy, nyan_blaze, parrot, rambi, rush_ryu, samus, storm, veyron_pinky Change-Id: I465e3657c6a0944bc75a669e5e52e74d46b3ec6c Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Original-Commit-Id: 6ace70d721aceae9257288815ce8fd7c6c74b8f5 Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Change-Id: I12612773372e358584d12fffaf5f968a46083fab Original-Reviewed-on: https://chromium-review.googlesource.com/245864 Original-Tested-by: Leroy P Leahy <leroy.p.leahy@intel.com> Original-Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com> Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9566 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/google/chromeos/chromeos.c1
-rw-r--r--src/vendorcode/google/chromeos/vboot_common.c1
-rw-r--r--src/vendorcode/google/chromeos/vboot_context.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/vendorcode/google/chromeos/chromeos.c b/src/vendorcode/google/chromeos/chromeos.c
index 437e128e7b..97c7e4f614 100644
--- a/src/vendorcode/google/chromeos/chromeos.c
+++ b/src/vendorcode/google/chromeos/chromeos.c
@@ -24,6 +24,7 @@
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
+#include "vboot_handoff.h"
static int vboot_enable_developer(void)
{
diff --git a/src/vendorcode/google/chromeos/vboot_common.c b/src/vendorcode/google/chromeos/vboot_common.c
index b2893d9fa9..ef47fc8a56 100644
--- a/src/vendorcode/google/chromeos/vboot_common.c
+++ b/src/vendorcode/google/chromeos/vboot_common.c
@@ -25,6 +25,7 @@
#include <console/console.h>
#include "chromeos.h"
#include "vboot_common.h"
+#include "vboot_handoff.h"
void vboot_locate_region(const char *name, struct vboot_region *region)
{
diff --git a/src/vendorcode/google/chromeos/vboot_context.h b/src/vendorcode/google/chromeos/vboot_context.h
index 2517f63e63..703d69bebc 100644
--- a/src/vendorcode/google/chromeos/vboot_context.h
+++ b/src/vendorcode/google/chromeos/vboot_context.h
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <vboot_api.h>
#include "chromeos.h"
+#include "vboot_handoff.h"
struct cbmem_entry;