projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cros_ec: Update cros_ec_read_hash() to specify the image
[oweals/u-boot.git]
/
cmd
/
cros_ec.c
diff --git
a/cmd/cros_ec.c
b/cmd/cros_ec.c
index 3ac4f3b235df78b9544692a075e0eb788ab4e487..9e2f1b06f3ca0e4f91019b1d7d9468f4caf71d62 100644
(file)
--- a/
cmd/cros_ec.c
+++ b/
cmd/cros_ec.c
@@
-149,7
+149,7
@@
static int do_cros_ec(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
struct ec_response_vboot_hash hash;
int i;
- if (cros_ec_read_hash(dev, &hash)) {
+ if (cros_ec_read_hash(dev,
EC_VBOOT_HASH_OFFSET_ACTIVE,
&hash)) {
debug("%s: Could not read KBC hash\n", __func__);
return 1;
}