]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_LPC32XX_NAND_SLC_WDR_CLKS to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:45 +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_WDR_CLKS to CFG_LPC32XX_NAND_SLC_WDR_CLKS

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

index fb1fb2d7dccfed961331a277fd21cd96103e4417..7de5c840ed9b35627c2131e66b0ed406b1dfa076 100644 (file)
@@ -126,7 +126,7 @@ static void lpc32xx_nand_init(void)
               &lpc32xx_nand_slc_regs->icr);
 
        /* Configure NAND flash timings */
-       writel(TAC_W_RDY(CONFIG_LPC32XX_NAND_SLC_WDR_CLKS) |
+       writel(TAC_W_RDY(CFG_LPC32XX_NAND_SLC_WDR_CLKS) |
               TAC_W_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_WWIDTH) |
               TAC_W_HOLD(hclk / CONFIG_LPC32XX_NAND_SLC_WHOLD) |
               TAC_W_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_WSETUP) |
index 5ba8c1bb20e26dbfc8080759137a33bd77c14e59..dc16ed84c52cfad2a7c395130d0fc05f7aeca409 100644 (file)
@@ -41,7 +41,7 @@
 /*
  * NAND chip timings
  */
-#define CONFIG_LPC32XX_NAND_SLC_WDR_CLKS       14
+#define CFG_LPC32XX_NAND_SLC_WDR_CLKS  14
 #define CONFIG_LPC32XX_NAND_SLC_WWIDTH         66666666
 #define CONFIG_LPC32XX_NAND_SLC_WHOLD          200000000
 #define CONFIG_LPC32XX_NAND_SLC_WSETUP         50000000