From patchwork Mon Sep 3 14:47:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 965494 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="i2oCMvI3"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 423tRy4xbqz9s3x for ; Tue, 4 Sep 2018 01:00:14 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2C366C21E79; Mon, 3 Sep 2018 14:56:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 99BE5C21EC8; Mon, 3 Sep 2018 14:49:04 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B7199C21E53; Mon, 3 Sep 2018 14:47:57 +0000 (UTC) Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by lists.denx.de (Postfix) with ESMTPS id EBCC5C21E47 for ; Mon, 3 Sep 2018 14:47:49 +0000 (UTC) Received: by mail-lf1-f66.google.com with SMTP id q13-v6so668212lfc.2 for ; Mon, 03 Sep 2018 07:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B3m3A8x8wolPCQH4hOAZm8+mwNYz8NUD+xg0ib/lAuk=; b=i2oCMvI3Ygj80CrxxWEmjRTJOXzVrJREQcuuWHYvJW35gACo0Ax1yuwmHVFNVoCnWj TZHbgESBw1SbjO+bR5o6MC4Rw9a319YVvU51z4ordNVLJML1Qh0a/42ztsCIKlcNeiv7 +DMLT6PSQU7iWWW926DvCRtK8LBXMovhW4DLw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B3m3A8x8wolPCQH4hOAZm8+mwNYz8NUD+xg0ib/lAuk=; b=QpDKAuMJ9T5WcImwpZu1ewdoCdA809d8doj67hGYTC5NZBc4TfClDKLD1iSLzoGcjx dhkynJDHke8v/ILCXLBt4IQ3ds5hQmL8vhtJG8BUAQjocTkoPLAEdoED9N0a6QAif6JS 2EDSpu26avkFoH9ef5IZvoXmTxQsOFGGoPH75s8GuvFUVR6Kl+vCAqsNwqjKPfh2W3Wj BgwB6Tfrhq5O2kMa8V83DIuebUJDfrZVuGU++pPlXSTmg5DIPJKY81uduc1WX0Kb+Cy5 R0i9Pv1ynBEqTHeL80LvxtwVpLsasFy0u3j+AUUrImDmXZKK7/5TcvWPzT/cGijwQ6n5 2i7g== X-Gm-Message-State: APzg51ApTZtuuCNuYGJ2Qmkm02f43SXmcdUvhGde5i4db3Qw9K2uCDdd H9SffBBiYG8d0pe/9yk9Br/CW/du7lc= X-Google-Smtp-Source: ANB0VdYUm2xq0upvryqc9254K/lW4aK5NVpK+xiy6AbmyddbbvWyRAgLBVeCVgjN5tQ99VrlIm+CvA== X-Received: by 2002:a19:5e12:: with SMTP id s18-v6mr17356264lfb.5.1535986069165; Mon, 03 Sep 2018 07:47:49 -0700 (PDT) Received: from jax.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id w18-v6sm3343431ljd.73.2018.09.03.07.47.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 07:47:48 -0700 (PDT) From: Jens Wiklander To: u-boot@lists.denx.de Date: Mon, 3 Sep 2018 16:47:11 +0200 Message-Id: <20180903144711.31585-21-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180903144711.31585-1-jens.wiklander@linaro.org> References: <20180903144711.31585-1-jens.wiklander@linaro.org> Cc: Tom Rini , Pierre Aubert Subject: [U-Boot] [PATCH v3 20/20] Kconfig: sandbox: enable cmd_avb and dependencies X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Enables cmd_avb and its dependencies need to run the AVB tests. Signed-off-by: Jens Wiklander Reviewed-by: Simon Glass --- 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