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 ED4D7C433FE for ; Sun, 20 Nov 2022 13:51:16 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1423285215; Sun, 20 Nov 2022 14:36:36 +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="ocb0oyjd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E0788536A; Sun, 20 Nov 2022 14:35:46 +0100 (CET) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 6FBF985303 for ; Sun, 20 Nov 2022 14:35:06 +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-qk1-x735.google.com with SMTP id i9so6486792qki.10 for ; Sun, 20 Nov 2022 05:35:06 -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=jjOU5V1YsO6hGZkP7SW1jiVCn9fuq7j5z+siZW71Y4g=; b=ocb0oyjdiltFa/eFU4zZ+hb2DH1FHpKfKeQLQealwfCxuboKijOb6Bobz5IP+AWtVl yZhdhgyEwgMWqrGrofm24qSawXQphL0OJfVOv/0Zf53G+jw/nSHSMA47yUqGARxSCAo4 LnuVVNrdzaHSI7DM+wmf49BQtlicKucmVBEVI= 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=jjOU5V1YsO6hGZkP7SW1jiVCn9fuq7j5z+siZW71Y4g=; b=IkfT6IDjnQ+ekKQPWds331KF55syXBdMoOYmr86vMOQUdir+flUb0ZmSziA3JnhJTF TGA6Q71swl9gNs9ge27kh2RSXnuNJa3fHiAFGXuoSnHIsNReQCPqldmCIfL7qS2S9mq8 DkacdUUbUl/ZmiJW8NHP5bsl5di8Jy3K+SnjdCRQO44T8mgkg98rjc9afc8qF0N0CBWE skK7smzV8TUPsqqny671blsUPPJvcGQRTEe0zv+uitJm4SlR6MUtV+DGkd9SzsXImJkv Zwy/VFn72l92Q/Syz8G3cWGMRyi+g4b+56VZITcVugqW3QZmBPT6ltyl6Cje5yPGQrvb fuWA== X-Gm-Message-State: ANoB5pnfiQ88L6dH9UGc52W9G4xtsPY6p92Gnd6jsUdYqO4UHB5D7Ntd okaQMxrmD4Ym8cCuWxyx6f7NUO/F4e3aiw== X-Google-Smtp-Source: AA0mqf7eSq9IwVDS/u0jX2uoFymimdq6biuZX5bOO5Jx+/6VShEpL/siXahvPXZx6pt7d/vOiEUEmw== X-Received: by 2002:a37:9ad7:0:b0:6ee:aeae:6891 with SMTP id c206-20020a379ad7000000b006eeaeae6891mr12772606qke.717.1668951305902; Sun, 20 Nov 2022 05:35:05 -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 m21-20020a05620a24d500b006ce0733caebsm6487740qkn.14.2022.11.20.05.35.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 05:35:05 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PoC 103/241] global: Migrate CONFIG_LPC32XX_NAND_SLC_RWIDTH to CFG Date: Sun, 20 Nov 2022 08:31:34 -0500 Message-Id: <20221120133352.3055600-104-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221120133352.3055600-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221120133352.3055600-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 --- drivers/mtd/nand/raw/lpc32xx_nand_slc.c | 2 +- include/configs/devkit3250.h | 2 +- scripts/config_whitelist.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_slc.c b/drivers/mtd/nand/raw/lpc32xx_nand_slc.c index 71e8286d1c8f..fb1fb2d7dccf 100644 --- a/drivers/mtd/nand/raw/lpc32xx_nand_slc.c +++ b/drivers/mtd/nand/raw/lpc32xx_nand_slc.c @@ -131,7 +131,7 @@ static void lpc32xx_nand_init(void) TAC_W_HOLD(hclk / CONFIG_LPC32XX_NAND_SLC_WHOLD) | TAC_W_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_WSETUP) | TAC_R_RDY(CFG_LPC32XX_NAND_SLC_RDR_CLKS) | - TAC_R_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_RWIDTH) | + TAC_R_WIDTH(hclk / CFG_LPC32XX_NAND_SLC_RWIDTH) | TAC_R_HOLD(hclk / CFG_LPC32XX_NAND_SLC_RHOLD) | TAC_R_SETUP(hclk / CFG_LPC32XX_NAND_SLC_RSETUP), &lpc32xx_nand_slc_regs->tac); diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h index 72cf031e05da..5ba8c1bb20e2 100644 --- a/include/configs/devkit3250.h +++ b/include/configs/devkit3250.h @@ -46,7 +46,7 @@ #define CONFIG_LPC32XX_NAND_SLC_WHOLD 200000000 #define CONFIG_LPC32XX_NAND_SLC_WSETUP 50000000 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS 14 -#define CONFIG_LPC32XX_NAND_SLC_RWIDTH 66666666 +#define CFG_LPC32XX_NAND_SLC_RWIDTH 66666666 #define CFG_LPC32XX_NAND_SLC_RHOLD 200000000 #define CFG_LPC32XX_NAND_SLC_RSETUP 50000000 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index fc20b83d66d0..fc42b693e3e1 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -111,7 +111,7 @@ CFG_LPC32XX_NAND_MLC_WR_LOW CFG_LPC32XX_NAND_SLC_RDR_CLKS CFG_LPC32XX_NAND_SLC_RHOLD CFG_LPC32XX_NAND_SLC_RSETUP -CONFIG_LPC32XX_NAND_SLC_RWIDTH +CFG_LPC32XX_NAND_SLC_RWIDTH CONFIG_LPC32XX_NAND_SLC_WDR_CLKS CONFIG_LPC32XX_NAND_SLC_WHOLD CONFIG_LPC32XX_NAND_SLC_WSETUP -- 2.25.1