From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C965EC433FE for ; Sun, 20 Nov 2022 14:25:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 93EE9854BE; Sun, 20 Nov 2022 15:18:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="UOnZ4Qau"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 997398533B; Sun, 20 Nov 2022 15:17:58 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 14EA6854A3 for ; Sun, 20 Nov 2022 15:17:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x832.google.com with SMTP id l15so5945798qtv.4 for ; Sun, 20 Nov 2022 06:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=b9UXMNDFYi2o85ndYx45OsGFP64n0WmrPaLo2w3SFQc=; b=UOnZ4QauyG6nr2eZWZbdtv0YHnnRq4WbpnUNL+hs1lLe/B4GdMLOGfDMvZoOUJHYMt 16DDcEOYbThjlyPkiKSGRi78uunbxDzW/Gu9OXi3d3ftN3JvnORZaOVTcylluVTNossG 73XDZ3Yf0I2lm5KgG9JVj+RK6pBZ8YHd5e+Hs= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=b9UXMNDFYi2o85ndYx45OsGFP64n0WmrPaLo2w3SFQc=; b=1I93EMwPXoq5K+ZYm0BR7/LBBfzSCAEF2iqkgf0P9fXSWIBuDBSlOjZSK7Y0AGNpZx c09YlyqHQ16xVKRJh5LLQiivl+OE4j7smZDQXIx94xukvFnwSsX4h7hgWFJpB57IgKad xRI/OrS/ClA8sKD8K6phCtlRbf5Md9G8iBIYXnTlfclphKmZqySvnfxWDrpSEZ221t+K gkbD9Ajh/BhxK7MMaTjuxC9TvA5CtmOeDXdEAtBY5ytSPYPk0A6pQzxHgFLvCkooCZS1 Y9ujhw8ME1oPaX6t7DNrP4ZqLUEZfGdOAxeKEfgNAvum6DmYo01gVeQuPOhWKIB2OuLe iprA== X-Gm-Message-State: ANoB5plM3X9bpo7qMl8W87pr/uHwkeQfSah57hqHHYgFAD4iSz/vDLUA ZDuaOdYuTz7Wb5QdmrRrFWOHeY4dxTY0TA== X-Google-Smtp-Source: AA0mqf5ULRek7X+9nwot0OipEypz41E1TJgH87ozwYpK99QO9ufIyy9LS0oouWd7ZmBjfXXS0qDs1g== X-Received: by 2002:ac8:507:0:b0:3a5:2d42:c45b with SMTP id u7-20020ac80507000000b003a52d42c45bmr13873376qtg.32.1668953871674; Sun, 20 Nov 2022 06:17:51 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-29a0-035f-b06a-235e.res6.spectrum.com. [2603:6081:7b00:6400:29a0:35f:b06a:235e]) by smtp.gmail.com with ESMTPSA id bk23-20020a05620a1a1700b006ce580c2663sm6400114qkb.35.2022.11.20.06.17.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 06:17:51 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 211/241] global: Migrate CONFIG_TPM_TIS_BASE_ADDRESS to CFG Date: Sun, 20 Nov 2022 09:17:13 -0500 Message-Id: <20221120141743.3059310-12-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120141743.3059310-1-trini@konsulko.com> References: <20221120140829.3057894-90-trini@konsulko.com> <20221120141743.3059310-1-trini@konsulko.com> 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 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.6 at phobos.denx.de X-Virus-Status: Clean Signed-off-by: Tom Rini --- README | 2 +- include/configs/efi-x86_app.h | 2 +- include/configs/x86-common.h | 2 +- scripts/config_whitelist.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README b/README index 57ca5733dd64..aeb94d003f6a 100644 --- a/README +++ b/README @@ -585,7 +585,7 @@ The following options need to be configured: Support for generic parallel port TPM devices. Only one device per system is supported at this time. - CONFIG_TPM_TIS_BASE_ADDRESS + CFG_TPM_TIS_BASE_ADDRESS Base address where the generic TPM device is mapped to. Contemporary x86 systems usually map it at 0xfed40000. diff --git a/include/configs/efi-x86_app.h b/include/configs/efi-x86_app.h index 96ad15b535d1..3420b4265a58 100644 --- a/include/configs/efi-x86_app.h +++ b/include/configs/efi-x86_app.h @@ -8,7 +8,7 @@ #include -#undef CONFIG_TPM_TIS_BASE_ADDRESS +#undef CFG_TPM_TIS_BASE_ADDRESS #define CFG_STD_DEVICES_SETTINGS "stdin=serial\0" \ "stdout=vidconsole\0" \ diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 9cfaa02958c8..becc87b1a6b4 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -16,7 +16,7 @@ */ /* Generic TPM interfaced through LPC bus */ -#define CONFIG_TPM_TIS_BASE_ADDRESS 0xfed40000 +#define CFG_TPM_TIS_BASE_ADDRESS 0xfed40000 /*----------------------------------------------------------------------- * Serial Configuration diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index b78294211ab0..34a34a2f0776 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -220,7 +220,7 @@ CFG_TEGRA_VDD_CORE_TPS62366A_SET1 CFG_TESTPIN_MASK CFG_TESTPIN_REG CFG_THOR_RESET_OFF -CONFIG_TPM_TIS_BASE_ADDRESS +CFG_TPM_TIS_BASE_ADDRESS CONFIG_TSEC1 CONFIG_TSEC1_NAME CONFIG_TSEC2 -- 2.25.1