aboutsummaryrefslogtreecommitdiff
path: root/board/h2200
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@linaro.org>2018-06-03 21:56:38 +0300
committerTom Rini <trini@konsulko.com>2018-06-18 13:55:13 -0400
commit3af30e4443aa2c8224bf15ba352a5ef81b02711a (patch)
tree5984999dd9b8c66f93d2f25b1bb2681eb9062f39 /board/h2200
parent3330584d2c5247d65744939c139160502b4b8c87 (diff)
downloadu-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.zip
u-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.tar.gz
u-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.tar.bz2
avb2.0: implement AVB ops
Implement AVB ops on top of existing mmc subsystem API. Currently there is a full implementation of such operations, defined by [1] AVB2.0 specification: .read_from_partition() - reads N bytes from a partition identified by a name. .write_to_partition() - Writes N bytes to a partition identified by a name. .validate_vbmeta_public_key() - checks if the given public ‘vbmeta’ partition is trusted. .get_unique_guid_for_partition() - Gets the GUID for a partition identified by a string name. As [1] specification recommends to use tamper-evident storage for storing rollback indexes and device state (LOCKED/UNLOCKED), currently are only stubs instead of full implementation for these ops: .read_rollback_index() - Gets the rollback index for a given index location .write_rollback_index() - Sets the rollback index to a given location .read_is_device_unlocked() - Gets where the device is unlocked [1] https://android.googlesource.com/platform/external/avb/+/master/README.md Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Diffstat (limited to 'board/h2200')
0 files changed, 0 insertions, 0 deletions