All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Wiklander <jens.wiklander@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 20/20] Kconfig: sandbox: enable cmd_avb and dependencies
Date: Mon,  3 Sep 2018 16:47:11 +0200	[thread overview]
Message-ID: <20180903144711.31585-21-jens.wiklander@linaro.org> (raw)
In-Reply-To: <20180903144711.31585-1-jens.wiklander@linaro.org>

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(+)

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

  parent reply	other threads:[~2018-09-03 14:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-03 14:46 [U-Boot] [PATCH v3 00/20] AVB using OP-TEE Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 01/20] dm: fdt: scan for devices under /firmware too Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 02/20] cmd: avb read_rb: print rb_idx in hexadecimal Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 03/20] cmd: avb: print error message if command fails Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 04/20] avb_verify: bugfix avb_ops_free() skipping free Jens Wiklander
2018-09-14 10:53   ` Simon Glass
2018-09-03 14:46 ` [U-Boot] [PATCH v3 05/20] mmc: rpmb: add mmc_rpmb_route_frames() Jens Wiklander
2018-09-14 10:53   ` Simon Glass
2018-09-25  6:14     ` Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 06/20] Add UCLASS_TEE for Trusted Execution Environment Jens Wiklander
2018-09-03 14:46 ` [U-Boot] [PATCH v3 07/20] dt/bindings: add bindings for optee Jens Wiklander
2018-09-14 10:53   ` Simon Glass
2018-09-03 14:46 ` [U-Boot] [PATCH v3 08/20] tee: add OP-TEE driver Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 09/20] Documentation: tee uclass and op-tee driver Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 10/20] arm: dt: hikey: Add optee node Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 11/20] optee: support routing of rpmb data frames to mmc Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 12/20] tee: optee: support AVB trusted application Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 13/20] sandbox: dt: add sandbox_tee node Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 14/20] sandbox: imply CONFIG_TEE (TEE uclass) Jens Wiklander
2018-09-14 10:53   ` Simon Glass
2018-09-03 14:47 ` [U-Boot] [PATCH v3 15/20] tee: add sandbox driver Jens Wiklander
2018-09-14 10:53   ` Simon Glass
2018-09-25  7:33     ` Jens Wiklander
2018-10-02 11:22       ` Simon Glass
2018-09-03 14:47 ` [U-Boot] [PATCH v3 16/20] test: tee: test TEE uclass Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 17/20] avb_verify: support using OP-TEE TA AVB Jens Wiklander
2018-09-14 10:54   ` Simon Glass
2018-09-25  7:34     ` Jens Wiklander
2018-09-03 14:47 ` [U-Boot] [PATCH v3 18/20] test_avb: Update pymark.buildconfigspec information for the AVB tests Jens Wiklander
2018-09-14 10:54   ` Simon Glass
2018-09-03 14:47 ` [U-Boot] [PATCH v3 19/20] avb_verify: support sandbox configuration Jens Wiklander
2018-09-14 10:54   ` Simon Glass
2018-09-25 10:50     ` Jens Wiklander
2018-09-03 14:47 ` Jens Wiklander [this message]
2018-09-14 10:54   ` [U-Boot] [PATCH v3 20/20] Kconfig: sandbox: enable cmd_avb and dependencies Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180903144711.31585-21-jens.wiklander@linaro.org \
    --to=jens.wiklander@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.