From patchwork Tue Sep 25 14:40:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 147484 Delivered-To: patches@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp812870lji; Tue, 25 Sep 2018 07:40:57 -0700 (PDT) X-Received: by 2002:a19:645e:: with SMTP id b30-v6mr1069868lfj.5.1537886457954; Tue, 25 Sep 2018 07:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537886457; cv=none; d=google.com; s=arc-20160816; b=c2SbDXSOICPBTXDWlijv1500ySBIYyy2jxiQ1PMfqMmBWk8zLAnAlMPCC0jEup0Plj jwwGdEBxN5Vk9TT0VGvBHSLFN02iyVskhy32e/7ZhvpBpIUJrb/++Dos4bV21px2hiJZ Sj8TEkwIJUoHaPn49+aSrNowEoIDYJ3Ehdozi1Y6HTxjMdfHQx6K0UHi6n8lLOXDTS9E 4uk9LrWNBgxI3/feXmMJtnyA6gwyJ/oe+1vPq++ax7h+g0KqfkeoBviKpmvH7j34wfIE jzimr7HIJA3stWs9o/1clf3aMQv89q7IrzJqjrasr+nvqNvLTGadJRUUDngfQpYceeH0 QLfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Xp+/sudw0AibFcy4icHaeR7okRDi+4vbJ5gKAM7VcTI=; b=n2chSwe/eeDhIBJOKHeUwSl4/vsi1+D6l16X4xxLzCNi9MuoHl0jsFyNnGxOvIG1iC 33z0q9BaT/fSD8SU21hANFTb+vK179hslE84S2uTqcqHw9NvmKoXPTzizroz1AbWhRmV /UcshUAF5I6R32YCbk8i7vaaQAbkIF1DjGjs5MvbqwWtXnSNLLn0S7lGtRuRa2ydyzm/ Wf8/wzcFCxDx5PCL1Usagt2G/UolpTMuEvRt/YNBI6yt8+m88Fdtod6Mw8Gb04n6gyYp rCiyJOpkg7ecJhQvzTBygiT7oY9L0eNIG6XmmAApDZKC34CSb8Tw2ljWHUbA/DYTNhgx braQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WxiGRNEV; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m1-v6sor1104754lfb.26.2018.09.25.07.40.57 for (Google Transport Security); Tue, 25 Sep 2018 07:40:57 -0700 (PDT) Received-SPF: pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WxiGRNEV; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=Xp+/sudw0AibFcy4icHaeR7okRDi+4vbJ5gKAM7VcTI=; b=WxiGRNEVIYXfQB7fsdXeYF/cY0tSf/ZydCsERDlihTiMH5MtVI7pqY2bHymStEVjFK vuLgiPrsL6/99ksT5DkiUdrD+yi6b3vKIK+m4KLUGQUThyUpmaBwqYaB1XCw1g7FMql0 OIE22ZEklB2THY9ycx5OdEWrfAAoRuySf7Pz8= 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=Xp+/sudw0AibFcy4icHaeR7okRDi+4vbJ5gKAM7VcTI=; b=cJE5lVFXp4oB8cqHVM4ISfUqQ2OQDn0TcbU7aga3dXTayZ5Uq/FmqppH5PmZk9Eo63 doCtM5FBY6354Fau5lRQhGRwnRM3HreWRwdcAu+J6T9BkZ0xGlvDb20390wO/nNky3mi LjP43uv8n+qqo/4doX2lS5yBW/SYvzmDOFUkQV13kc4pBKnkqkvEtSTvwnz13YZBrYgK pkO9fYHAX1H/XM18LpT7VGdUtv/FvNEVXBIoJ8QTr3l4/iqMGzdF2QbNG579dA5D6rxA qzJjYawukRVycp4aVPf203yaaXCf2g6uaAsFkqPCRS3b5YIBuJqP4Bps+rs1cJiQaloa o8zQ== X-Gm-Message-State: ABuFfohSad8KK6K+a9pkkVQgjL8Lkr8B/xvGevkEDXZEfR3h6TPnqAnE kWJRXx7Ng6c9/CIWZy6FnyYhei9U X-Google-Smtp-Source: ACcGV61k+8wfwExG5DkZmvZLMGqfPcpcV9bwJNDH+ydlQP9M/heB9ffFAfbKvHuEo40mnetuF1P3JQ== X-Received: by 2002:a19:e013:: with SMTP id x19-v6mr997231lfg.89.1537886457673; Tue, 25 Sep 2018 07:40:57 -0700 (PDT) Return-Path: Received: from jax.urgonet (h-84-105.A175.priv.bahnhof.se. [79.136.84.105]) by smtp.gmail.com with ESMTPSA id g14-v6sm14483lja.96.2018.09.25.07.40.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Sep 2018 07:40:56 -0700 (PDT) From: Jens Wiklander To: u-boot@lists.denx.de Cc: Simon Glass , Igor Opaniuk , Tom Rini , Jaehoon Chung , Pierre Aubert , Albert Aribaud , Peter Griffin , Michal Simek , Jens Wiklander Subject: [PATCH v4 19/19] Kconfig: sandbox: enable cmd_avb and dependencies Date: Tue, 25 Sep 2018 16:40:23 +0200 Message-Id: <20180925144023.24555-20-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180925144023.24555-1-jens.wiklander@linaro.org> References: <20180925144023.24555-1-jens.wiklander@linaro.org> Enables cmd_avb and its dependencies need to run the AVB tests. Reviewed-by: Simon Glass Signed-off-by: Jens Wiklander --- arch/Kconfig | 4 ++++ drivers/fastboot/Kconfig | 2 ++ 2 files changed, 6 insertions(+) -- 2.17.1 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