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>
This commit is contained in:
Daisuke Nojiri 2015-02-03 14:44:55 -08:00 committed by Patrick Georgi
parent e319e4843e
commit 24d4dae00f
3 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <cbfs.h> #include <cbfs.h>
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include "vboot_handoff.h"
static int vboot_enable_developer(void) static int vboot_enable_developer(void)
{ {

View File

@ -25,6 +25,7 @@
#include <console/console.h> #include <console/console.h>
#include "chromeos.h" #include "chromeos.h"
#include "vboot_common.h" #include "vboot_common.h"
#include "vboot_handoff.h"
void vboot_locate_region(const char *name, struct vboot_region *region) void vboot_locate_region(const char *name, struct vboot_region *region)
{ {

View File

@ -22,6 +22,7 @@
#include <stdint.h> #include <stdint.h>
#include <vboot_api.h> #include <vboot_api.h>
#include "chromeos.h" #include "chromeos.h"
#include "vboot_handoff.h"
struct cbmem_entry; struct cbmem_entry;