diff options
Diffstat (limited to 'firmware/include/vboot_api.h')
-rw-r--r-- | firmware/include/vboot_api.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 31e91a7b..dc8be1c4 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -21,9 +21,7 @@ #ifndef VBOOT_REFERENCE_VBOOT_API_H_ #define VBOOT_REFERENCE_VBOOT_API_H_ - -#include "sysincludes.h" -#include "bmpblk_header.h" +#include <stdint.h> /*****************************************************************************/ /* Error codes */ @@ -814,6 +812,14 @@ VbError_t VbExDecompress(void *inbuf, uint32_t in_size, uint32_t compression_type, void *outbuf, uint32_t *out_size); +/* Constants for compression_type */ +enum { + COMPRESS_NONE = 0, + COMPRESS_EFIv1, /* The x86 BIOS only supports this */ + COMPRESS_LZMA1, /* The ARM BIOS supports LZMA1 */ + MAX_COMPRESS, +}; + /** * Execute legacy boot option. */ |