summaryrefslogtreecommitdiff
path: root/common/Makefile
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 /common/Makefile
parent3330584d2c5247d65744939c139160502b4b8c87 (diff)
downloadu-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.tar.gz
u-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.tar.bz2
u-boot-3af30e4443aa2c8224bf15ba352a5ef81b02711a.zip
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 'common/Makefile')
-rw-r--r--common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index b3da72ebb2..66584f8f48 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -120,3 +120,5 @@ obj-$(CONFIG_$(SPL_)LOG) += log.o
obj-$(CONFIG_$(SPL_)LOG_CONSOLE) += log_console.o
obj-y += s_record.o
obj-y += xyzModem.o
+
+obj-$(CONFIG_LIBAVB) += avb_verify.o