]> git.dujemihanovic.xyz Git - u-boot.git/commit
cros_ec: Adjust to use v1 vboot context only
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:37 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:34 +0000 (06:01 -0700)
commiteafb4a59dbb90a63c9676f16ffa1e099ee26ec28
treecd99b60de91aaf1064e8cd9d6519e02b13ff4e1c
parenta749c09a1ea7376ff7a891663bb80ffbe308c485
cros_ec: Adjust to use v1 vboot context only

At present there are no users of the 64-byte v2 context. The v1 context is
only 16 bytes long and currently an error is raised if too much data is
returned from the EC.

Update the code to limit the size to 16 bytes.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec_sandbox.c