From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeniu Rosca Date: Wed, 18 Jul 2018 00:08:10 +0200 Subject: [U-Boot] [PATCH v2 1/2] avb2.0: add proper dependencies In-Reply-To: <1531827206-16158-2-git-send-email-igor.opaniuk@linaro.org> References: <1531827206-16158-1-git-send-email-igor.opaniuk@linaro.org> <1531827206-16158-2-git-send-email-igor.opaniuk@linaro.org> Message-ID: <20180717220810.GA21624@x230> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Igor Opaniuk > --- > 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 Tested-by: Eugeniu Rosca