From patchwork Wed Nov 3 15:09:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 516769 Delivered-To: patch@linaro.org Received: by 2002:adf:eccd:0:0:0:0:0 with SMTP id s13csp713387wro; Wed, 3 Nov 2021 08:10:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2hmb62bVTdxwuSSZMOIQAYfHiFYozYu1dqib+t+Mf2u6Wl3dsqKOuaxJSf+tfhLyEUhx+ X-Received: by 2002:a05:6402:4401:: with SMTP id y1mr21846926eda.225.1635952250470; Wed, 03 Nov 2021 08:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635952250; cv=none; d=google.com; s=arc-20160816; b=XM8msTM31GPbBSuzCpoln6ZCvDMMq/ZZMc5tbqopgvBJsth5LXjhtisKIRtq8nUb5K hBphNOffGH8JikM6Rgnba8C08NFZhHGu6LG/o2iGwornkSI07wSCm1W67/cKQSyonZpo +3AQaOC60FQ9CQ/geaMUl0DODmfuePilholCexHjL3ZV1xN9zIXuBodmJTVs5yQUw+ur 1Y3V3Q7ZFlG8lcyXGrG8sF7uin0VGzma5zWCerMU0YWiza47PQNorZgUNSO2U5Hnp2WX ZV1mM13BEBi1lGuWa8B4ZX4UHGEhA4nr/Uw1LLM3plvLu+7fnn9jnBX1CkGOcxdfgIG8 G/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZffdLTNpokGR3G2SGMvSVO3n8FhG/gBVQM6GGuROlqQ=; b=gKnTGN0gE25PVKs8nzMbzNjc6ouv9TEHLN8J/+sTi90LjGky7ipRV6YiqxhTnSF9cQ V9uSp0dlTHmopmUqVINyCwxyrfhDByS5cnVYYet/T8eTPrHlqWtScZ6pt8XTrCf/XfMz 91ECjmhkZnq6pWhVVKO1ZX75jyd1FKJ28+2VyANkqhczGZJaagz9uaAx+U0i7yM+KHve cuhopWbZx9lO4CTSq6+IMbq+jPveYIigznKdE8JMiYsHOaFFDd93lXVScu8/TKWzex4U 2/gMR3kTgEB4i1ranRoioonvFSigS8uKUV++H7eyQLGHQKaBRS/C9sADCE5C7z2VUzLO 7VsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ANGXGfPu; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id b15si4452806ede.50.2021.11.03.08.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 08:10:50 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ANGXGfPu; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49A2A8363C; Wed, 3 Nov 2021 16:09:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ANGXGfPu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2158283630; Wed, 3 Nov 2021 16:09:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1C4348347E for ; Wed, 3 Nov 2021 16:09:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x433.google.com with SMTP id d24so4146641wra.0 for ; Wed, 03 Nov 2021 08:09:40 -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 :mime-version:content-transfer-encoding; bh=ZffdLTNpokGR3G2SGMvSVO3n8FhG/gBVQM6GGuROlqQ=; b=ANGXGfPun0ah1wYkAc8BJ041Pkm3RyxGVOHiiRGfRW9VmSlNQjhSw3jAIskoherr5k VBW/0u+VK8iXpiOhUnana8eOX7o1+mCfFaUwsQ/Nmz4JIgWbuHvW+ZewQfa+7zQj/10j Y4BvHdc/XGBwkg9jmMEYEKs+4SCidSiIL71JPT1s+a/04pWEiQkDZWRcQZtfOOvMVBdP 8z+LAn0o1SKhNYxEjDAH0br7n8Hksm6+wMmTGFXM+QXgYXMdnFMT2t6MUjwbqkCMQi4q qmMvoPwLL4S98wBgkg/jvviHk3fXeHZVVXQyhBgqXkzoLsmVy3WlmVTBJjU0YHHWHPxX 6JXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZffdLTNpokGR3G2SGMvSVO3n8FhG/gBVQM6GGuROlqQ=; b=F5oWTES9dEqGzXF3+wyLSnsEOVyepAGrEtJYli1XVp3BvtezVo95+ljkpEelMn0bsj b13ASaC30sBQaNGT/PHghG4VKtIDvekDgbXaUzyyuW1QGNW0ZU9DjrxN1ZBDlJktYOWf wEJ2aACwCRq54n+aRTnxt3o3kl1Y+30wMHGMliIOpkc7uNuDEeqGzD30ulbiOt8lQRAi M9qoaX2qT+RXdjiTH++LrO6mzKPvfVJ/WsZD31f07sqHQE24TZphXoemSqNWtYP5I2o5 crYoNkAT/6/Zt5ZmLGwUwGbZUF63gksVogsnHYGgYh2K4q1ULHYkBl0IHn4zZKNyXlkx /lAw== X-Gm-Message-State: AOAM5326y6LKweFfvPtugaDCVmf+7hy3WsxAxk/cVy/yegbLGNbUGGh7 P8YoOaTQzJCEdnKVl42P7kYZ6FUn02rvYQ== X-Received: by 2002:a5d:6488:: with SMTP id o8mr1879697wri.348.1635952179699; Wed, 03 Nov 2021 08:09:39 -0700 (PDT) Received: from apalos.home ([2a02:587:4682:26e0:2e56:dcff:fe9a:8f06]) by smtp.gmail.com with ESMTPSA id f19sm2094947wmq.34.2021.11.03.08.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 08:09:39 -0700 (PDT) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: trini@konsulko.com, Ilias Apalodimas , Rick Chen , Sean Anderson , Simon Glass , Heinrich Schuchardt , Masahisa Kojima Subject: [PATCH 4/6 v4] configs: Enable tpmv2 mmio on qemu for arm/arm64 Date: Wed, 3 Nov 2021 17:09:07 +0200 Message-Id: <20211103150910.69732-5-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211103150910.69732-1-ilias.apalodimas@linaro.org> References: <20211103150910.69732-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean A previous commit is adding an MMIO TPMv2 driver. Include in the default qemu arm configs, since we plan on using them on EFI testing Signed-off-by: Ilias Apalodimas --- configs/qemu_arm64_defconfig | 2 ++ configs/qemu_arm_defconfig | 2 ++ 2 files changed, 4 insertions(+) -- 2.33.1 Reviewed-by: Simon Glass diff --git a/configs/qemu_arm64_defconfig b/configs/qemu_arm64_defconfig index 003717efde28..83d7ae54de4d 100644 --- a/configs/qemu_arm64_defconfig +++ b/configs/qemu_arm64_defconfig @@ -49,6 +49,8 @@ CONFIG_SCSI=y CONFIG_DM_SCSI=y CONFIG_SYSRESET=y CONFIG_SYSRESET_PSCI=y +CONFIG_TPM2_MMIO=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y +CONFIG_TPM=y diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index 27b0e49f6f89..ab5574847e89 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -51,6 +51,8 @@ CONFIG_SCSI=y CONFIG_DM_SCSI=y CONFIG_SYSRESET=y CONFIG_SYSRESET_PSCI=y +CONFIG_TPM2_MMIO=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y +CONFIG_TPM=y