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 C5B55C4321E for ; Sun, 4 Dec 2022 15:32:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C1F04856B1; Sun, 4 Dec 2022 16:16:29 +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="m8+uSaHi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C049A8560B; Sun, 4 Dec 2022 16:15:20 +0100 (CET) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (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 3D8488561F for ; Sun, 4 Dec 2022 16:15:18 +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-ej1-x62f.google.com with SMTP id o13so22340248ejm.1 for ; Sun, 04 Dec 2022 07:15:18 -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=k883i4cNWMZkOB2mfhFcU5Xa24NJViRx92LzUS/uTps=; b=m8+uSaHikz2WIh8xEgYkIxDU2OxSODFenhd4azP6zdrrfDWvLt0HWde//AasYIq31T G2B/8hpR+LYfrV164wwl2FDFudG8OC1gOd2U/1OqK0KbAa5zhGVmcTCGHosLCfKn/y4j 5DpqOpguLBiV47kSd5lR90U1GdBkKvLa5OeAI= 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=k883i4cNWMZkOB2mfhFcU5Xa24NJViRx92LzUS/uTps=; b=KmGS6RLestlo+MYvnNdWx5wLTnv3K/6EYQAaIiAi9sm7UPZdHXA67hZZCU3jGjDVpw NUzo0gBYM/N+lZcKKZzkvdaWSAoJ6sEzbieXJxNFCH6veC7Y2oVzBQi+RAcWRh0JwvL1 BAQOBSYbBuu75RI/PL+T3HaibKNtfAwzX9IELYKSsNmsBhYn2sX3J/89cSPMw6RjnhQW 4IzYPOJM3iWLXC8aojqJDCeOGXwBXAPA57IgltbhunTSouohdeODZsVx4tDV0iQvknyb bohGDMTQoYilYtAS82nXXvL0buqbcxH6k2TlabnT/zlJg16Aq88W8M0ySKuGJFct9yeb UGkw== X-Gm-Message-State: ANoB5plEWFh7pF9eevi1vjbiQpPhpfzJle4lo+EGkxac+TuM68Sp5D3K rg3W5S7E20yXVHAjE4xWRo/p60psQwdpDCOH X-Google-Smtp-Source: AA0mqf5On4yK25PGhrxuMgmqq299zmy7+zs81H0AjcgbZ9uTgvj0iDcn98yAoR23DX/RVc9aQOqIkw== X-Received: by 2002:a17:906:2355:b0:7c0:e6da:e25a with SMTP id m21-20020a170906235500b007c0e6dae25amr2954312eja.22.1670166917821; Sun, 04 Dec 2022 07:15:17 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-61c7-2644-b62d-0af3.res6.spectrum.com. [2603:6081:7b00:6400:61c7:2644:b62d:af3]) by smtp.gmail.com with ESMTPSA id b21-20020aa7c915000000b00461816beef9sm5174405edt.14.2022.12.04.07.15.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:15:17 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 136/149] global: Migrate CONFIG_X86_MRC_ADDR to CFG Date: Sun, 4 Dec 2022 10:14:07 -0500 Message-Id: <20221204151420.56851-46-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204151420.56851-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204151420.56851-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 Perform a simple rename of CONFIG_X86_MRC_ADDR to CFG_X86_MRC_ADDR Signed-off-by: Tom Rini --- arch/x86/cpu/intel_common/mrc.c | 2 +- arch/x86/dts/u-boot.dtsi | 2 +- include/configs/x86-chromebook.h | 2 +- tools/binman/binman.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/cpu/intel_common/mrc.c b/arch/x86/cpu/intel_common/mrc.c index a4918fbad61a..69405d740b47 100644 --- a/arch/x86/cpu/intel_common/mrc.c +++ b/arch/x86/cpu/intel_common/mrc.c @@ -200,7 +200,7 @@ static int sdram_initialise(struct udevice *dev, struct udevice *me_dev, debug("PEI data at %p:\n", pei_data); - data = (char *)CONFIG_X86_MRC_ADDR; + data = (char *)CFG_X86_MRC_ADDR; if (data) { int rv; ulong start; diff --git a/arch/x86/dts/u-boot.dtsi b/arch/x86/dts/u-boot.dtsi index 24e692f988d8..454efc17614e 100644 --- a/arch/x86/dts/u-boot.dtsi +++ b/arch/x86/dts/u-boot.dtsi @@ -86,7 +86,7 @@ #endif #ifdef CONFIG_HAVE_MRC intel-mrc { - offset = ; + offset = ; }; #endif #ifdef CONFIG_FSP_VERSION1 diff --git a/include/configs/x86-chromebook.h b/include/configs/x86-chromebook.h index 41fb499ae4f7..059e3a0d8a2c 100644 --- a/include/configs/x86-chromebook.h +++ b/include/configs/x86-chromebook.h @@ -6,7 +6,7 @@ #ifndef _X86_CHROMEBOOK_H #define _X86_CHROMEBOOK_H -#define CONFIG_X86_MRC_ADDR 0xfffa0000 +#define CFG_X86_MRC_ADDR 0xfffa0000 #define CONFIG_X86_REFCODE_ADDR 0xffea0000 #define CONFIG_X86_REFCODE_RUN_ADDR 0 diff --git a/tools/binman/binman.rst b/tools/binman/binman.rst index e7b231e07120..69e4b00239c1 100644 --- a/tools/binman/binman.rst +++ b/tools/binman/binman.rst @@ -298,7 +298,7 @@ C preprocessor:: #ifdef CONFIG_HAVE_MRC intel-mrc { - offset = ; + offset = ; }; #endif -- 2.25.1