diff mbox series

[v3,20/20] Kconfig: sandbox: enable cmd_avb and dependencies

Message ID 20180903144711.31585-21-jens.wiklander@linaro.org
State Superseded
Headers show
Series AVB using OP-TEE | expand

Commit Message

Jens Wiklander Sept. 3, 2018, 2:47 p.m. UTC
Enables cmd_avb and its dependencies need to run the AVB tests.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

---
 arch/Kconfig             | 4 ++++
 drivers/fastboot/Kconfig | 2 ++
 2 files changed, 6 insertions(+)

-- 
2.17.1

Comments

Simon Glass Sept. 14, 2018, 10:54 a.m. UTC | #1
On 3 September 2018 at 16:47, Jens Wiklander <jens.wiklander@linaro.org> wrote:
> Enables cmd_avb and its dependencies need to run the AVB tests.
>
> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
> ---
>  arch/Kconfig             | 4 ++++
>  drivers/fastboot/Kconfig | 2 ++
>  2 files changed, 6 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

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