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: 145817 Delivered-To: patches@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2575846ljw; Mon, 3 Sep 2018 07:47:49 -0700 (PDT) X-Received: by 2002:a2e:29da:: with SMTP id p87-v6mr16981519ljp.12.1535986069345; Mon, 03 Sep 2018 07:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535986069; cv=none; d=google.com; s=arc-20160816; b=Xr2bDpoziIU13dhky1A5qGrHcJtP88zWC+0nAXTSSL8K2xtC7+nsXrZdpAVctXltMf C9we9sFzQyn+Gupt8FnML4cBEQ7dyRwYw6dgkmtIiE/zs6CvfgFZ1ewT8BnteA0KVEck j/HU7/R/7uR5B66esPFc+aELXmnge8mgxcN6koLOWWuBOCrlB2WvhLo5IrwScx2UBOQD aqN4ox1A8oBeYie2foFHK6CeQ/tOKDvkuD5KWySPnaZ9WQEDka9nrBCpKF8vK1zUfrnp xmyYVOEfaXQK7ySw2uDcScPbdvlb5Ym+Tcrhne4az5g0xGrr8xZSKnirw5VH4EBZPGyH Wsmg== 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:arc-authentication-results; bh=B3m3A8x8wolPCQH4hOAZm8+mwNYz8NUD+xg0ib/lAuk=; b=dfMKA6nmR5/QwzwyFePIWuq+a8w2ZVxsHP9IZwDGzFimpz84sL2SKt1PouIrmRvxxa 7pYndcFpbr27jrmCa0vWeSqOX1RNFgK5tfFqJusst7sjjARNyH8zHy5cx7AO0TtFq+hM GYPyqPR7JxRYw+8U8nAnPySI4L6LHeParpOzwlC1I/xXeJgzf6cMXrtMwsIlhQR60OUc tz2hEqc0FjruoLS6y/GXB7US+z4q4u3oHvjzK676TlQJct+1mB8mDoQN3du2zMbUyIQY nPncc2gehugWMEjAwHO+gV5BdsXivIAl1Om0i9LYzg5jtkYXZdSBUSQ6pn8ZXY489+JU qp/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i2oCMvI3; 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 x15-v6sor5177034lfb.12.2018.09.03.07.47.49 for (Google Transport Security); Mon, 03 Sep 2018 07:47:49 -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=i2oCMvI3; 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=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=A/8dWDBfu4Evo0XN09qLqXiIVMiWQ/Lj6G1TEhSk8coAMUkWAtjgZaEcNCG6p/FltQ Xe87069xIR2eR8iVmYMbiZnU2s3xBSH/VWcmdXjmVTBi6VWLZGmuB9RZA/yoN7a/rz3v yIZ3UF0FouR/M91ikuywd4OEAHstcrUoUXvtJC9FNckc8HslkKYHtFbTOKK02cONHaOX QKCh2ruNAYgIRLLsW7y/0myGoE7f0pJ15B2/YfvJamk76JdfJLl4cBMPJRY5QZoqytSc LHC8dtE4TMEg2cdn2BJwYztpkZElXeSibTel7aomfbcL/yC+gUHPNJmTIlONXLYvB+RY xpTA== X-Gm-Message-State: APzg51C6QAWrZa+KuFdcn+jDgUPzmh2j3EfQgZjMpMr8A/uezJFdKmfE wRDrQzq3OGSc7qP9wtxOuT1Qxx0x 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) Return-Path: 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 Cc: Simon Glass , Igor Opaniuk , Tom Rini , Jaehoon Chung , Pierre Aubert , Albert Aribaud , Peter Griffin , Michal Simek , Jens Wiklander Subject: [PATCH v3 20/20] Kconfig: sandbox: enable cmd_avb and dependencies 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> Enables cmd_avb and its dependencies need to run the AVB tests. Signed-off-by: Jens Wiklander --- arch/Kconfig | 4 ++++ drivers/fastboot/Kconfig | 2 ++ 2 files changed, 6 insertions(+) -- 2.17.1 Reviewed-by: Simon Glass 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