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.euge...@gmail.com>
Signed-off-by: Igor Opaniuk <igor.opan...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to