[PATCH 10/10] cros_ec: Add vstore support

Simon Glass sjg at chromium.org
Sun Jan 24 21:23:20 CET 2021


The EC can store small amounts of data for the benefit of the
verified boot process. Since the EC is seldom reset, this can allow the
AP to store data that survives a reboot or a suspend/resume cycle.

Add support for this.

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

 drivers/misc/cros_ec.c         | 71 ++++++++++++++++++++++++++++++++++
 drivers/misc/cros_ec_sandbox.c | 52 ++++++++++++++++++++++++-
 include/cros_ec.h              | 43 ++++++++++++++++++++
 test/dm/cros_ec.c              | 38 ++++++++++++++++++
 4 files changed, 202 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list