X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fcros_ec.h;h=4771e6b7d1c3b4e434737be26499b9e5e1e8cdee;hb=3d5ced9e22d32112a20f9dc0f5fb1f22ef088079;hp=5576bcf32eeb37739465fb0ecc610edaf2259398;hpb=42116f644b33d4c9e7b495ec87612aa922452453;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/cros_ec.h b/include/cros_ec.h index 5576bcf..4771e6b 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h @@ -96,10 +96,12 @@ int cros_ec_read_current_image(struct udevice *dev, * Read the hash of the CROS-EC device firmware. * * @param dev CROS-EC device + * @param hash_offset Offset in flash to read from * @param hash Destination for hash information * @return 0 if ok, <0 on error */ -int cros_ec_read_hash(struct udevice *dev, struct ec_response_vboot_hash *hash); +int cros_ec_read_hash(struct udevice *dev, uint hash_offset, + struct ec_response_vboot_hash *hash); /** * Send a reboot command to the CROS-EC device.