[U-Boot] [PATCH v2 1/2] avb2.0: add proper dependencies
Eugeniu Rosca
roscaeugeniu at gmail.com
Tue Jul 17 22:08:10 UTC 2018
Hi Igor,
On Tue, Jul 17, 2018 at 02:33:25PM +0300, Igor Opaniuk wrote:
> 1. Since libavb library alone is highly portable, introduce dedicated
> Kconfig symbol for AVB bootloader-dependent operations, so it's possible
> to build libavb separately. AVB bootloader-dependent operations include:
> * Helpers to process strings in order to build OS bootargs.
> * Helpers to access MMC, similar to drivers/fastboot/fb_mmc.c.
> * Helpers to alloc/init/free avb ops.
> 2. Add CONFIG_FASTBOOT dependency, as fastboot buffer is
> re-used in partition verification operations.
>
> Reported-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at linaro.org>
> ---
> cmd/Kconfig | 2 +-
> common/Kconfig | 10 ++++++++++
> common/Makefile | 2 +-
> doc/README.avb2 | 1 +
> 4 files changed, 13 insertions(+), 2 deletions(-)
With this patch I am now able to compile libavb natively for x86_64,
as well as cross-compile it for arm and aarch64, w/o the avb_verify
wrapper. Thanks for the improvements in the patch/Kconfig description.
Reviewed-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>
Tested-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>
More information about the U-Boot
mailing list