[U-Boot] [PATCH v3 20/20] Kconfig: sandbox: enable cmd_avb and dependencies

Jens Wiklander jens.wiklander at linaro.org
Mon Sep 3 14:47:11 UTC 2018


Enables cmd_avb and its dependencies need to run the AVB tests.

Signed-off-by: Jens Wiklander <jens.wiklander at linaro.org>
---
 arch/Kconfig             | 4 ++++
 drivers/fastboot/Kconfig | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/arch/Kconfig b/arch/Kconfig
index 8f10f3fc06e8..543362578f50 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -92,6 +92,10 @@ config SANDBOX
 	imply LZMA
 	imply SCSI
 	imply TEE
+	imply AVB_VERIFY
+	imply LIBAVB
+	imply CMD_AVB
+	imply UDP_FUNCTION_FASTBOOT
 
 config SH
 	bool "SuperH architecture"
diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig
index bc25ea1d9c7a..d63ecdd27e4b 100644
--- a/drivers/fastboot/Kconfig
+++ b/drivers/fastboot/Kconfig
@@ -35,6 +35,7 @@ config FASTBOOT_BUF_ADDR
 				ROCKCHIP_RK3399
 	default 0x280000 if ROCKCHIP_RK3368
 	default 0x100000 if ARCH_ZYNQMP
+	default 0 if SANDBOX
 	help
 	  The fastboot protocol requires a large memory buffer for
 	  downloads. Define this to the starting RAM address to use for
@@ -45,6 +46,7 @@ config FASTBOOT_BUF_SIZE
 	default 0x8000000 if ARCH_ROCKCHIP
 	default 0x6000000 if ARCH_ZYNQMP
 	default 0x2000000 if ARCH_SUNXI
+	default 0x8192 if SANDBOX
 	default 0x7000000
 	help
 	  The fastboot protocol requires a large memory buffer for
-- 
2.17.1



More information about the U-Boot mailing list