Message ID | 20230218152741.528191-2-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9bcd:0:0:0:0:0 with SMTP id e13csp513872wrc; Sat, 18 Feb 2023 07:28:17 -0800 (PST) X-Google-Smtp-Source: AK7set/o5QezFTcU2puBdnkM1WeBBdOgjnf9GXsnxSxkSA9sPe8El2LhVU4zCbntLdegsPJlX4y+ X-Received: by 2002:a05:6871:72a:b0:16e:cc40:5412 with SMTP id f42-20020a056871072a00b0016ecc405412mr3593561oap.30.1676734096888; Sat, 18 Feb 2023 07:28:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676734096; cv=none; d=google.com; s=arc-20160816; b=bJ1qXT5Wjkc9Ergv0uxz7g5fLbsVUaXIxnwk99vY6jixCnKFb0jr7KMRSJQfv1qF2H INZHKIzGgu3CymjqGZKQsRLq8Sn5a3kHCs/7mE50FMMEPTsZ9/hXHYcSIgmEpS2HT+X7 93UcvYpN7JJ2ddysiIx873JQVWi0djLzP7+od5PgyyRpHR43HSXa9xLRl8DaySQrFIQT VY/ACvEvBipS28aMtEbGbTeUrblBE0wnp65zBwqkicPH3AJMyGpdeG6k3qIUyj9stI/l 5wtvpPx87bKs7VEuZcs0R86fAPM6AtGgwbiF+uNaog34eHykH7RBCMA6XBTzEYPxXeiN tvWQ== 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=V3vR81Hzbu2ba3O8TvpV9GTQcDwEUeWCNAHs0JB9pvA=; b=aQS8RxYcihPQM2fi6PaHd4giA1J2DPsJtoVMuIN4k8DBmI/u82Jj/J45QyD3spP4Tn iYfV5RDujKpncywMKspdgXmpwIvm7TEkyfQA52Va3+H8c6y/Aie8JrnHZJGKLJMT343t c11vrUXvr++XlJfm1YKPUPy9W2AJeYreAz2MoM9yxMIXHZTIAThG49Rbgx+SsJTnAeVv PPHgWZLOvdKDks3cuh2e2a8dpfyNGecpVH+Q/p3gmWg2XdhSAtJXHugLjc5NblYed2ae VOU3uaJXEuLMJFkzukJoX4bLbblqpAN/sFqMQcTE40m747tLzdBNVQSsQ1WuXmkaTZSM Xi4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zxR30ztr; 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: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id vi2-20020a0568710d8200b0016334c61c7bsi5647613oab.298.2023.02.18.07.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 07:28:16 -0800 (PST) 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=zxR30ztr; 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 DE301851EB; Sat, 18 Feb 2023 16:28:07 +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="zxR30ztr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F30F685A42; Sat, 18 Feb 2023 16:27:55 +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-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 5A1F1851EB for <u-boot@lists.denx.de>; Sat, 18 Feb 2023 16:27:53 +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-ed1-x531.google.com with SMTP id t19so2930581edi.13 for <u-boot@lists.denx.de>; Sat, 18 Feb 2023 07:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=V3vR81Hzbu2ba3O8TvpV9GTQcDwEUeWCNAHs0JB9pvA=; b=zxR30ztr1vhmrYL8zkpAW++r+bvlDTxqEw16gIVa/gj20uXWlMw5fy2kxCnEU4GewZ tE1GdzEOBmRC3t2QbPye8nqo6B0jjxH/0/lOv6Ijeuwy6yCvPz1pB58ofi9q3sLmwG23 FAp7OCUWIdnE59TJt4Rv2gsPgToSNnpP0yZzI4EhG5C5cCi/gpvdKFgEDpy44yLcbVAO TfaEmXimhvS7c7nMl5kHEc1vQcxHBCZvVCWzkDTKwAzpISlSdLwg6v1oNt3kdPKv9R3b 8S7b4z+uT8l0IrWiiNjUhRBdcoR3gKbu3OnJczIywPXi+lFKKNxleyHavsMAmnsgkQVZ ZhYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V3vR81Hzbu2ba3O8TvpV9GTQcDwEUeWCNAHs0JB9pvA=; b=hK/6SE5YpXDU7AR0jaOfujb01DxMVyPtKvQUxSw1e2T7l31xQhqyijee4YdYCmfTuJ v559KZMZKoJTD6w6Stv9LXgtmw2rEhSspie09RasMyWcb37bnezIb+apdEKSWW3t/V1m yJSvg+SzM5ZU8++aB95nykDTOwj+KuPSfer1avFz9UwdDS5ZcNCcINgUncFhfp7fCs+o IWyNLuy0NWAxrta474cjDEHU105VDsuuNRZer97qbjptEJJESSDfUB1lf7LbC7WZan4j K+mXH4svMFNC+J6I4knDLvKUthAOXAa6+vV4YdlYyCkmSKe915bvMhlEKkyRt3JyAmc8 opkA== X-Gm-Message-State: AO0yUKWR9RplC2dOcTqYmnUtzElTp/S5G2a7VWnrMx1/G9qU3WmV+EJg UNrQx5tuoeSR4SnugvQ9umQAFpPgOk2iDG9g X-Received: by 2002:a17:907:7288:b0:8bd:dc0:3834 with SMTP id dt8-20020a170907728800b008bd0dc03834mr2729386ejc.34.1676734072939; Sat, 18 Feb 2023 07:27:52 -0800 (PST) Received: from localhost.localdomain ([2a02:85f:fc09:d5bf:82f9:4e04:7bf7:880c]) by smtp.gmail.com with ESMTPSA id ce25-20020a170906b25900b008b05b21e8aesm3512759ejb.172.2023.02.18.07.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Feb 2023 07:27:52 -0800 (PST) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: u-boot@lists.denx.de Cc: eajames@linux.ibm.com, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Sughosh Ganu <sughosh.ganu@linaro.org> Subject: [PATCH 2/4 v4] efi_loader: use tpm_auto_start for the tpm device Date: Sat, 18 Feb 2023 17:27:39 +0200 Message-Id: <20230218152741.528191-2-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230218152741.528191-1-ilias.apalodimas@linaro.org> References: <20230218152741.528191-1-ilias.apalodimas@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
[1/4,v4] tpm: add a function that performs selftest + startup
|
expand
|
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 918e9a268641..d035a00d98ac 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -2422,7 +2422,7 @@ efi_status_t efi_tcg2_register(void) } /* initialize the TPM as early as possible. */ - err = tpm_startup(dev, TPM_ST_CLEAR); + err = tpm_auto_start(dev); if (err) { log_err("TPM startup failed\n"); goto fail;