summaryrefslogtreecommitdiff
path: root/drivers/misc/cros_ec_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-06 15:21:22 -0700
committerSimon Glass <sjg@chromium.org>2018-11-20 19:14:22 -0700
commit72ef8bfd6dd83412577f9c5da8a5b6bec5c22182 (patch)
tree60b2f067134cb39a3a4904616a30e1517c809d33 /drivers/misc/cros_ec_sandbox.c
parent4bf6f2ad47f481d161876a87969c46f80a9b8e9d (diff)
downloadu-boot-72ef8bfd6dd83412577f9c5da8a5b6bec5c22182.tar.gz
cros_ec: Add new features for events and power
This adds new commands to the EC related to setting and clearing events as well as controlling power-related settings. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/cros_ec_sandbox.c')
-rw-r--r--drivers/misc/cros_ec_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c
index d741554d8a..429f1a9b26 100644
--- a/drivers/misc/cros_ec_sandbox.c
+++ b/drivers/misc/cros_ec_sandbox.c
@@ -74,7 +74,7 @@ struct ec_keymatrix_entry {
* @recovery_req: Keyboard recovery requested
*/
struct ec_state {
- uint8_t vbnv_context[EC_VBNV_BLOCK_SIZE];
+ u8 vbnv_context[EC_VBNV_BLOCK_SIZE_V2];
struct fdt_cros_ec ec_config;
uint8_t *flash_data;
int flash_data_len;