bdb: Add NVM library
authorDaisuke Nojiri <dnojiri@chromium.org>
Fri, 6 May 2016 19:32:38 +0000 (12:32 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Sat, 21 May 2016 03:49:34 +0000 (20:49 -0700)
commit6b5c4e961fb69579cf2ba5e14e48bca178652d53
tree4d437aaffc6b60ec86c459f97b83190c52363e76
parenta6ec5576092960eda9f5a52a40034471f4c4808f
bdb: Add NVM library

This patch adds NVM library, which verifies, updates, and syncs NVM-RW of
vboot SoC.

BUG=chrome-os-partner:51907
BRANCH=tot
TEST=make runtests

Change-Id: I5adc399f9e582bd9ea7d9ee73482ed9a924837e0
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/343121
Reviewed-by: Daisuke Nojiri <dnojiri@google.com>
Makefile
firmware/bdb/bdb.h
firmware/bdb/bdb_api.h
firmware/bdb/nvm.c [new file with mode: 0644]
firmware/bdb/nvm.h [new file with mode: 0644]
firmware/bdb/secrets.h [new file with mode: 0644]
firmware/bdb/stub.c
tests/bdb_sprw_test.c