From: Tom Rini <trini@konsulko.com>
Date: Sun, 4 Dec 2022 15:04:39 +0000 (-0500)
Subject: global: Migrate CONFIG_LPC32XX_NAND_MLC_WR_HIGH to CFG
X-Git-Tag: v2025.01-rc5-pxa1908~1158^2~5^2~75
X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=196690dfdadeb99ee7903e121bce10908b9ec6fb;p=u-boot.git

global: Migrate CONFIG_LPC32XX_NAND_MLC_WR_HIGH to CFG

Perform a simple rename of CONFIG_LPC32XX_NAND_MLC_WR_HIGH to CFG_LPC32XX_NAND_MLC_WR_HIGH

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
index 088fdb7981..31a9a22ba3 100644
--- a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
+++ b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
@@ -146,7 +146,7 @@ static void lpc32xx_nand_init(void)
 		clkdiv(CFG_LPC32XX_NAND_MLC_NAND_TA,    0x07, 16) |
 		clkdiv(CFG_LPC32XX_NAND_MLC_RD_HIGH,    0x0F, 12) |
 		clkdiv(CFG_LPC32XX_NAND_MLC_RD_LOW,     0x0F, 8) |
-		clkdiv(CONFIG_LPC32XX_NAND_MLC_WR_HIGH,    0x0F, 4) |
+		clkdiv(CFG_LPC32XX_NAND_MLC_WR_HIGH,    0x0F, 4) |
 		clkdiv(CONFIG_LPC32XX_NAND_MLC_WR_LOW,     0x0F, 0),
 		&lpc32xx_nand_mlc_registers->time_reg);
 }
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 34af515037..c67a0bb6e1 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -32,7 +32,7 @@
 #define CFG_LPC32XX_NAND_MLC_NAND_TA      18181818
 #define CFG_LPC32XX_NAND_MLC_RD_HIGH      31250000
 #define CFG_LPC32XX_NAND_MLC_RD_LOW       45454545
-#define CONFIG_LPC32XX_NAND_MLC_WR_HIGH      40000000
+#define CFG_LPC32XX_NAND_MLC_WR_HIGH      40000000
 #define CONFIG_LPC32XX_NAND_MLC_WR_LOW       83333333
 
 /*