[PATCH 1/2] cros_ec: Correct collection of EC hash

Simon Glass sjg at chromium.org
Sun Nov 15 15:07:36 CET 2020


The EC now requires that the offset field be set correctly when checking
on hash status. Update the code to handle this. Use the same message
struct in both functions to reduce stack space.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/misc/cros_ec.c | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list