Home | History | Annotate | Download | only in include
      1 /* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
      2  * Use of this source code is governed by a BSD-style license that can be
      3  * found in the LICENSE file.
      4  */
      5 
      6 /* APIs between calling firmware and vboot_reference
      7  *
      8  * DO NOT INCLUDE THE HEADERS BELOW DIRECTLY!  ONLY INCLUDE THIS FILE!
      9  */
     10 
     11 #ifndef VBOOT_VB2_API_H_
     12 #define VBOOT_VB2_API_H_
     13 
     14 /* Standard APIs */
     15 #include "../2lib/include/2api.h"
     16 
     17 /*
     18  * Coreboot should not need access to vboot2 internals.  But right now it does.
     19  * At least this forces it to do so through a relatively narrow hole so vboot2
     20  * refactoring can continue.
     21  *
     22  * Please do not rip this into a wider hole, or expect this hole to continue.
     23  *
     24  * TODO: Make cleaner APIs to this stuff.
     25  */
     26 #ifdef NEED_VB20_INTERNALS
     27 #include "../2lib/include/2nvstorage_fields.h"
     28 #include "../2lib/include/2struct.h"
     29 #include "../lib20/include/vb2_struct.h"
     30 #endif
     31 
     32 #endif  /* VBOOT_VB2_API_H_ */
     33