vboot: Include vb2_api.h, instead of lower-level vboot2 header files
This will allow vboot2 to continue refactoring without breaking coreboot, since there's now only a single file which needs to stay in sync. BUG=chromium:423882 BRANCH=none TEST=emerge-veyron_pinky coreboot CQ-DEPEND=CL:233050 Change-Id: I74cae5f0badfb2d795eb5420354b9e6d0b4710f7 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/233051 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
This commit is contained in:
parent
c3180a9270
commit
df55e0365d
6 changed files with 11 additions and 11 deletions
|
|
@ -9,10 +9,10 @@
|
|||
#ifndef ANTIROLLBACK_H_
|
||||
#define ANTIROLLBACK_H_
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include <2api.h>
|
||||
#include "tpm_lite/tss_constants.h"
|
||||
|
||||
struct vb2_context;
|
||||
|
||||
/* TPM NVRAM location indices. */
|
||||
#define FIRMWARE_NV_INDEX 0x1007
|
||||
#define KERNEL_NV_INDEX 0x1008
|
||||
|
|
|
|||
|
|
@ -14,11 +14,11 @@
|
|||
* time.
|
||||
*/
|
||||
|
||||
#include <2api.h>
|
||||
#include <2sysincludes.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <tpm_lite/tlcl.h>
|
||||
#include <tpm.h>
|
||||
#include <vb2_api.h>
|
||||
#include "tlcl_internal.h"
|
||||
#include "tlcl_structures.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,12 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <2api.h>
|
||||
#include <cbfs.h>
|
||||
#include <cbfs_core.h>
|
||||
#include <console/console.h>
|
||||
#include <spi_flash.h>
|
||||
#include <string.h>
|
||||
#include <vb2_api.h>
|
||||
#include <vboot_nvstorage.h>
|
||||
#include "chromeos.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,11 +6,12 @@
|
|||
* stored in the TPM NVRAM.
|
||||
*/
|
||||
|
||||
#include <2api.h>
|
||||
#include <2sysincludes.h>
|
||||
#include <antirollback.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <tpm_lite/tlcl.h>
|
||||
#include <tpm_lite/tss_constants.h>
|
||||
#include <vb2_api.h>
|
||||
|
||||
#ifndef offsetof
|
||||
#define offsetof(A,B) __builtin_offsetof(A,B)
|
||||
|
|
|
|||
|
|
@ -17,8 +17,6 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <2recovery_reasons.h>
|
||||
#include <2struct.h>
|
||||
#include <arch/stages.h>
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
|
@ -30,6 +28,8 @@
|
|||
#include <console/vtxprintf.h>
|
||||
#include <stdlib.h>
|
||||
#include <timestamp.h>
|
||||
#define NEED_VB20_INTERNALS /* TODO: remove me! */
|
||||
#include <vb2_api.h>
|
||||
#include <vboot_struct.h>
|
||||
#include "../chromeos.h"
|
||||
#include "../fmap.h"
|
||||
|
|
|
|||
|
|
@ -17,13 +17,12 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <2api.h>
|
||||
#include <2struct.h>
|
||||
#include <antirollback.h>
|
||||
#include <arch/exception.h>
|
||||
#include <console/console.h>
|
||||
#include <console/vtxprintf.h>
|
||||
#include <string.h>
|
||||
#include <vb2_api.h>
|
||||
|
||||
#include "../chromeos.h"
|
||||
#include "misc.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue