Files
OpenCellular/board
Vincent Palatin b7e4d50cfe cr50: fix saving the U2F seed to flash
We need to ensure that the NVMEM variable containing the seed is properly
saved to flash, so we can restore it later whatever happens.
Add a call to writevars() which triggers the NVMEM commit rather than
accidentally waiting for it.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BRANCH=cr50
BUG=b:35545754
TEST=run twice 'trunks_send --u2f_cert --crt=/tmp/mycert.crt' and
hard-reboot the cr50 in between and see both certificates are
fully identical.

Change-Id: Iea4f9fdede4c0a2eeae1c59633caa16dbf70a66f
Reviewed-on: https://chromium-review.googlesource.com/602241
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2017-08-04 18:08:18 -07:00
..
2017-03-16 11:25:50 -07:00
2017-05-18 06:03:52 -07:00
2017-08-03 15:13:56 -07:00
2017-08-04 15:39:06 -07:00
2016-05-04 16:15:02 -07:00
2014-04-02 19:58:53 +00:00
2017-05-16 07:47:05 -07:00