]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_LPC32XX_NAND_SLC_WSETUP to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:47 +0000 (10:04 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:51 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_LPC32XX_NAND_SLC_WSETUP to CFG_LPC32XX_NAND_SLC_WSETUP

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/mtd/nand/raw/lpc32xx_nand_slc.c
include/configs/devkit3250.h

index dee8fd24b94ba5f0555067b08a52bd27059e7b5b..a070df81d7cd51140fd2d1f2c93012508104d430 100644 (file)
@@ -129,7 +129,7 @@ static void lpc32xx_nand_init(void)
        writel(TAC_W_RDY(CFG_LPC32XX_NAND_SLC_WDR_CLKS) |
               TAC_W_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_WWIDTH) |
               TAC_W_HOLD(hclk / CFG_LPC32XX_NAND_SLC_WHOLD) |
-              TAC_W_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_WSETUP) |
+              TAC_W_SETUP(hclk / CFG_LPC32XX_NAND_SLC_WSETUP) |
               TAC_R_RDY(CFG_LPC32XX_NAND_SLC_RDR_CLKS) |
               TAC_R_WIDTH(hclk / CFG_LPC32XX_NAND_SLC_RWIDTH) |
               TAC_R_HOLD(hclk / CFG_LPC32XX_NAND_SLC_RHOLD) |
index 24312c848e2d230ef7eb9ee5fc3729dcd1efc190..5719e422da978f90c70029aac2e3965c5f5e6796 100644 (file)
@@ -44,7 +44,7 @@
 #define CFG_LPC32XX_NAND_SLC_WDR_CLKS  14
 #define CONFIG_LPC32XX_NAND_SLC_WWIDTH         66666666
 #define CFG_LPC32XX_NAND_SLC_WHOLD             200000000
-#define CONFIG_LPC32XX_NAND_SLC_WSETUP         50000000
+#define CFG_LPC32XX_NAND_SLC_WSETUP            50000000
 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS  14
 #define CFG_LPC32XX_NAND_SLC_RWIDTH            66666666
 #define CFG_LPC32XX_NAND_SLC_RHOLD             200000000