[PATCH] avb: Extend support to non-eMMC interfaces
Simon Glass
sjg at chromium.org
Wed Oct 5 02:44:03 CEST 2022
On Mon, 26 Sept 2022 at 16:02, Alistair Delva <adelva at google.com> wrote:
>
> From: Jiyong Park <jiyong at 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 at google.com>
> Cc: Igor Opaniuk <igor.opaniuk at gmail.com>
> Cc: Ram Muthiah <rammuthiah at google.com>
> Cc: Jiyong Park <jiyong at google.com>
> Cc: Simon Glass <sjg at 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 at chromium.org>
More information about the U-Boot
mailing list