
On Mon, 26 Sept 2022 at 16:02, Alistair Delva adelva@google.com wrote:
From: Jiyong Park jiyong@google.com
Previously Android AVB supported block devices only on eMMC. This change eliminates the restriction by using the generic block driver model.
The `avb init' command is modified to accept another parameter which specifies the interface type. e.g., `avb init virtio 0' initializes avb for the first (0) disk that is accessible via the virtio interface.
[adelva: The "avb init" command is updated directly, as this is considered a "debug command" that can't be usefully used in u-boot scripts.]
Signed-off-by: Alistair Delva adelva@google.com Cc: Igor Opaniuk igor.opaniuk@gmail.com Cc: Ram Muthiah rammuthiah@google.com Cc: Jiyong Park jiyong@google.com Cc: Simon Glass sjg@chromium.org
cmd/avb.c | 16 ++++--- common/Kconfig | 1 - common/avb_verify.c | 105 +++++++++++++++++++++---------------------- include/avb_verify.h | 31 ++++--------- 4 files changed, 69 insertions(+), 84 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org