ec/google: Add command to set APU SKU ID to EC

EC needs to have command to set SKU ID from APU to support
specific feature (ex: keyboard backlight) for variant board.

BUG=b:65359225
BRANCH=reef
TEST=emerge-snappy coreboot
Change-Id: I8cd3b8f646d4134d6bfff2869f6df2d9c615c157
Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/21504
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kevin Chiu
2017-09-12 09:13:41 +08:00
committed by Aaron Durbin
parent 461797e3ed
commit e2bb059187
3 changed files with 27 additions and 2 deletions

View File

@ -1124,7 +1124,10 @@ struct __ec_align4 ec_response_get_features {
/* Get the board's SKU ID from EC */
#define EC_CMD_GET_SKU_ID 0x000E
struct __ec_align4 ec_response_sku_id {
/* Set SKU ID from AP */
#define EC_CMD_SET_SKU_ID 0x000F
struct __ec_align4 ec_sku_id_info {
uint32_t sku_id;
};