]> git.ipfire.org Git - thirdparty/u-boot.git/commit - common/Kconfig
avb2.0: add proper dependencies
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Tue, 17 Jul 2018 11:33:25 +0000 (14:33 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jul 2018 13:25:23 +0000 (09:25 -0400)
commitb0aa74a2640cd1be1d9bdfd8024ed3faa119e447
treee8e57744240d4ddd593713153c1fec7ae6f11d07
parent149c21b098dafc5a2ae619555a844e8d0a9523f6
avb2.0: add proper dependencies

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@gmail.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Reviewed-by: Eugeniu Rosca <rosca.eugeniu@gmail.com>
Tested-by: Eugeniu Rosca <rosca.eugeniu@gmail.com>
cmd/Kconfig
common/Kconfig
common/Makefile
doc/README.avb2