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 82F10C4321E for ; Sun, 4 Dec 2022 15:22:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8423E855D6; Sun, 4 Dec 2022 16:10:33 +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="IhvVRzdh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 24DEA85470; Sun, 4 Dec 2022 16:07:41 +0100 (CET) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 06B0E854D6 for ; Sun, 4 Dec 2022 16:07:35 +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-x62e.google.com with SMTP id ml11so22307385ejb.6 for ; Sun, 04 Dec 2022 07:07:35 -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=/YcMQsUWShPKFWudjIAiTjNQFh6bOTQHksRFv83FX58=; b=IhvVRzdhB8/YqRD+15aT+ygTc0bMSlCilTEolMmQFs8zU+vip+2GggrBcONWKuKVL+ 905d1oYux+W2rn/K25whInbG7/8EoUm/+ENQVMoOiuHbxCYROlBNZ7rMxv2DyYtoP92a Ha8NePu6nsMqTWiSRRIjmjBrOnw5DfU8qdZaI= 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=/YcMQsUWShPKFWudjIAiTjNQFh6bOTQHksRFv83FX58=; b=S4v11KcUD0EaC+TeuBktqVy0mWngwmghn19CzyO8ndiuN651zIM4Xt9crPuSy3BDfE 81kuY/k5sXIqQ2j2a8QWRjcP9+3IIkTzwtfCqGsi8EPDnmhhy0S2KF9qyJAC1QGs+lzE KHpiRYVyiJp5RtPY1OiDVLAEfWhiGl3D4b5E2JSAw6hO7r3dOORVmSI6PJSaBYZiximM 8LkRRspk8runGpIHkWMKEqcYe6IUVOncvzqYwNQpiyr30i3Co+f4y7REdn45eSVgwGSL +RgodOkP8LxKGVH34TZJLL5cRoxL/sRD72kyl0U7vvk8PQHq2RaW/gokUuAmuco9i4HU ieaA== X-Gm-Message-State: ANoB5pnKB7YHz0Fk3Mzvv/RE6PR7PnLc8POQLTXJILrz9OgVxtYC+viB oEAVnYhsfPvpZ6/Ch1f8ljj62sXO2UhyEmm0 X-Google-Smtp-Source: AA0mqf7A30ikqfPai2kUEVPHAMzS7iuucxjNNOAzJr5T8gZ29Xym1LdrcQwbxaULzSf2ObHRE8YxUA== X-Received: by 2002:a17:906:a41a:b0:7c0:e80e:5af0 with SMTP id l26-20020a170906a41a00b007c0e80e5af0mr2583870ejz.235.1670166455484; Sun, 04 Dec 2022 07:07:35 -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 g1-20020a17090604c100b0073dc5bb7c32sm5240058eja.64.2022.12.04.07.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 07:07:35 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 089/149] global: Migrate CONFIG_MXC_NAND_REGS_BASE to CFG Date: Sun, 4 Dec 2022 10:04:54 -0500 Message-Id: <20221204150554.4165941-89-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221204150554.4165941-1-trini@konsulko.com> References: <20221202214251.3027264-41-trini@konsulko.com> <20221204150554.4165941-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_MXC_NAND_REGS_BASE to CFG_MXC_NAND_REGS_BASE Signed-off-by: Tom Rini --- drivers/mtd/nand/raw/mxc_nand.c | 2 +- include/configs/m53menlo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/mxc_nand.c b/drivers/mtd/nand/raw/mxc_nand.c index 10679b2aa105..051ded6a240a 100644 --- a/drivers/mtd/nand/raw/mxc_nand.c +++ b/drivers/mtd/nand/raw/mxc_nand.c @@ -1172,7 +1172,7 @@ int board_nand_init(struct nand_chip *this) this->write_buf = mxc_nand_write_buf; this->read_buf = mxc_nand_read_buf; - host->regs = (struct mxc_nand_regs __iomem *)CONFIG_MXC_NAND_REGS_BASE; + host->regs = (struct mxc_nand_regs __iomem *)CFG_MXC_NAND_REGS_BASE; #ifdef MXC_NFC_V3_2 host->ip_regs = (struct mxc_nand_ip_regs __iomem *)CFG_MXC_NAND_IP_REGS_BASE; diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h index 3ac67b0f489e..ee19c8936b9a 100644 --- a/include/configs/m53menlo.h +++ b/include/configs/m53menlo.h @@ -45,7 +45,7 @@ */ #ifdef CONFIG_CMD_NAND #define CFG_SYS_NAND_BASE NFC_BASE_ADDR_AXI -#define CONFIG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI +#define CFG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI #define CFG_MXC_NAND_IP_REGS_BASE NFC_BASE_ADDR #define CFG_SYS_NAND_LARGEPAGE #endif -- 2.25.1