]> git.baikalelectronics.ru Git - uboot.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)
commit39ad2d370c97340049f8ba7e91611772184c3e14
treecd99b60de91aaf1064e8cd9d6519e02b13ff4e1c
parent438f2ff763df6a4179355fbc5b5bf51c2ae41ea1
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