[U-Boot] [PATCH 1/1] avb2.0: add proper dependencies to libavb
Igor Opaniuk
igor.opaniuk at linaro.org
Thu Jul 12 07:34:24 UTC 2018
Provide proper dependencies for LIBAVB: (FASTBOOT and !BLK):
1. CONFIG_FASTBOOT is needed, as fastboot buffer is re-used (which
is initially used in the fastboot protocol for downloads)
2. !CONFIG_BLK, as current implementation currently
doesn't support non-legacy block API.
Reported-by: Eugeniu Rosca <rosca.eugeniu at gmail.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk at linaro.org>
---
lib/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index a77bf1c..4780e7e 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -191,7 +191,7 @@ menu "Android Verified Boot"
config LIBAVB
bool "Android Verified Boot 2.0 support"
- depends on ANDROID_BOOT_IMAGE
+ depends on ANDROID_BOOT_IMAGE && FASTBOOT && !BLK
default n
help
This enables support of Android Verified Boot 2.0 which can be used
--
2.7.4
More information about the U-Boot
mailing list