diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 | ||||
-rw-r--r-- | include/vboot.h | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h index 7008774812..8f7abdec59 100644 --- a/include/config.h +++ b/include/config.h @@ -1322,6 +1322,12 @@ #undef CONFIG_EC_EFS_SUPPORT /* + * Version of EC-EFS: 0 (for 2.0) or 1 (for 2.1). + * This is for CR50 config only + */ +#undef CONFIG_EC_EFS2_VERSION + +/* * Enable the experimental console. * * NOTE: If you enable this experimental console, you will need to run the diff --git a/include/vboot.h b/include/vboot.h index ba924508c7..a9eb8692ae 100644 --- a/include/vboot.h +++ b/include/vboot.h @@ -59,14 +59,13 @@ struct cr50_comm_packet { #define CR50_COMM_ERROR_BAD_PAYLOAD CR50_COMM_RESPONSE(0x07) #define CR50_COMM_ERROR_STRUCT_VERSION CR50_COMM_RESPONSE(0x08) #define CR50_COMM_ERROR_NVMEM CR50_COMM_RESPONSE(0x09) +#define CR50_COMM_ERROR_BAD_PARAM CR50_COMM_RESPONSE(0x0a) -/* - * BIT(0) : NO_BOOT flag - * BIT(1) : RECOVERY flag - */ enum ec_efs_boot_mode { - EC_EFS_BOOT_MODE_NORMAL = 0x00, + EC_EFS_BOOT_MODE_NORMAL = 0x00, /* in 2.0 */ + EC_EFS_BOOT_MODE_VERIFIED = 0x00, /* in 2.1 */ EC_EFS_BOOT_MODE_NO_BOOT = 0x01, + EC_EFS_BOOT_MODE_TRUSTED_RO = 0x02, /* in 2.1 */ /* boot_mode is uint8_t */ EC_EFS_BOOT_MODE_LIMIT = 255, |