]> git.dujemihanovic.xyz Git - u-boot.git/commit
cros_ec: Correct collection of EC hash
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 14:14:43 +0000 (07:14 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 14 Nov 2020 22:23:41 +0000 (15:23 -0700)
commitd237e9c7c00d131d808761d0fe7f44768598c074
tree697e7b27d357c91d9b4d8601395e24a2b18f58ad
parentfcbec650e6216fdba0ffe6fc017a34ceed0c86cb
cros_ec: Correct collection of EC hash

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@chromium.org>
drivers/misc/cros_ec.c