ec/google/chromeec: Update EC headers

Generated using update_ec_headers.sh from EC repo commit:

  8be982a31008 (cbi: Add Unified Firmware and Second-source Config (UFSC))

BUG=b:448300592
TEST=emerge-skywalker coreboot
BRANCH=none

Change-Id: I212489c2fd732478b12deb3c47521a050bd379f6
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89403
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
Yu-Ping Wu 2025-10-03 07:38:08 +08:00 committed by Matt DeVillier
commit 217a7962d0
2 changed files with 28 additions and 0 deletions

View file

@ -121,6 +121,14 @@ static inline int ec_cmd_fp_template(CROS_EC_COMMAND_INFO *h,
{
return CROS_EC_COMMAND(h, EC_CMD_FP_TEMPLATE, 0, p, size, NULL, 0);
}
static inline int ec_cmd_fp_info_v2(CROS_EC_COMMAND_INFO *h,
struct ec_response_fp_info_v2 *r,
size_t resp_size)
{
return CROS_EC_COMMAND(h, EC_CMD_FP_INFO, 2, NULL, 0, r, resp_size);
}
/*
* Section 2: EC interface functions that can be generated with the help
* of template macros.

View file

@ -5014,6 +5014,14 @@ enum charge_state_params {
/* step value of charger input current limit (READ ONLY) */
CS_PARAM_CHG_INPUT_CURRENT_STEP,
/* Minimum required voltage for hybrid boost chargers (READ ONLY) */
CS_PARAM_CHG_MIN_REQUIRED_MV,
/* For hybrid boost chargers returns !=0 when attached charger is
* capable of charging the battery
*/
CS_PARAM_CHG_IS_ADAPTER_SUFFICIENT,
/* How many so far? */
CS_NUM_BASE_PARAMS,
@ -6644,10 +6652,22 @@ enum cbi_data_tag {
*/
CBI_TAG_PROVISION_MATRIX_VERSION = 28, /* uint32_t bit field */
/* Unified Firmware and Second-source Config:
* A fixed-size array of 5 uint32_t values.
*/
CBI_TAG_UFSC = 29,
/* Last entry */
CBI_TAG_COUNT,
};
#define CBI_UFSC_DATA_COUNT 5
/* Unified Firmware and Second-source Config (UFSC) data structure */
struct cbi_ufsc {
uint32_t data[CBI_UFSC_DATA_COUNT];
};
/*
* Flags to control read operation
*