diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index e2c114d671..c3f86b97d5 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5606,40 +5606,6 @@ struct ec_response_rollback_info { #define EC_CMD_AP_RESET 0x0125 /*****************************************************************************/ -/* I2C lookup command - * - * Return values: - * EC_RES_UNAVAILABLE: Lookup type is supported but not present on system. - * EC_RES_INVALID_PARAM: The type was unrecognized. - */ - -#define EC_CMD_I2C_LOOKUP 0x0126 - -struct ec_i2c_info { - uint16_t port; /* Physical port for device */ - uint16_t addr_flags; /* 7-bit (or 10-bit) address */ -}; - -enum i2c_device_type { - I2C_LOOKUP_TYPE_CBI_EEPROM = 1, - I2C_LOOKUP_TYPE_COUNT, - I2C_LOOKUP_TYPE_MAX = 0xFFFF, -}; - -struct ec_params_i2c_lookup { - uint16_t type; /* enum i2c_device_type */ - /* Used for type specific parameters in future */ - union { - uint16_t reseved; - }; -} __ec_align2; - -struct ec_response_i2c_lookup { - uint16_t i2c_port; /* Physical port for device */ - uint16_t i2c_addr; /* 7-bit (or 10-bit) address */ -} __ec_align1; - -/*****************************************************************************/ /* The command range 0x200-0x2FF is reserved for Rotor. */ /*****************************************************************************/ |