cros_ec: Update cros_ec_read_hash() to specify the image
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:38 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commita12ef7e26a69213869badc02c0f3267816200024
tree4c2c51c62639e3980fa47313ee81888503a3aa02
parent590cee8315e94e729493d2ecd8a604bcfbfa7d0e
cros_ec: Update cros_ec_read_hash() to specify the image

Allow selection of which EC image to hash.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/cros_ec.c
drivers/misc/cros_ec.c
include/cros_ec.h