]> git.baikalelectronics.ru Git - uboot.git/commitdiff
global: Migrate CONFIG_LPC32XX_NAND_SLC_WHOLD to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:04:46 +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_WHOLD to CFG_LPC32XX_NAND_SLC_WHOLD

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

index 7de5c840ed9b35627c2131e66b0ed406b1dfa076..dee8fd24b94ba5f0555067b08a52bd27059e7b5b 100644 (file)
@@ -128,7 +128,7 @@ static void lpc32xx_nand_init(void)
        /* Configure NAND flash timings */
        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_HOLD(hclk / CFG_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 / CFG_LPC32XX_NAND_SLC_RWIDTH) |
index dc16ed84c52cfad2a7c395130d0fc05f7aeca409..24312c848e2d230ef7eb9ee5fc3729dcd1efc190 100644 (file)
@@ -43,7 +43,7 @@
  */
 #define CFG_LPC32XX_NAND_SLC_WDR_CLKS  14
 #define CONFIG_LPC32XX_NAND_SLC_WWIDTH         66666666
-#define CONFIG_LPC32XX_NAND_SLC_WHOLD          200000000
+#define CFG_LPC32XX_NAND_SLC_WHOLD             200000000
 #define CONFIG_LPC32XX_NAND_SLC_WSETUP         50000000
 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS  14
 #define CFG_LPC32XX_NAND_SLC_RWIDTH            66666666