diff options
Diffstat (limited to 'include/ec_commands.h')
| -rw-r--r-- | include/ec_commands.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/include/ec_commands.h b/include/ec_commands.h index 12811cc070e..d9c8c1f3350 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -536,7 +536,7 @@ struct ec_response_flash_protect {  enum ec_flash_region {  	/* Region which holds read-only EC image */ -	EC_FLASH_REGION_RO, +	EC_FLASH_REGION_RO = 0,  	/* Region which holds rewritable EC image */  	EC_FLASH_REGION_RW,  	/* @@ -544,6 +544,8 @@ enum ec_flash_region {  	 * EC_FLASH_REGION_RO)  	 */  	EC_FLASH_REGION_WP_RO, +	/* Number of regions */ +	EC_FLASH_REGION_COUNT,  };  struct ec_params_flash_region_info { | 
