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

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

index a070df81d7cd51140fd2d1f2c93012508104d430..356f8d9440bb55b55d1223b6f9d491087b58ed3c 100644 (file)
@@ -127,7 +127,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_WIDTH(hclk / CFG_LPC32XX_NAND_SLC_WWIDTH) |
               TAC_W_HOLD(hclk / CFG_LPC32XX_NAND_SLC_WHOLD) |
               TAC_W_SETUP(hclk / CFG_LPC32XX_NAND_SLC_WSETUP) |
               TAC_R_RDY(CFG_LPC32XX_NAND_SLC_RDR_CLKS) |
index 5719e422da978f90c70029aac2e3965c5f5e6796..9cfee381d4ac94fdf9afb14ba0b6ed483d8ccabd 100644 (file)
@@ -42,7 +42,7 @@
  * NAND chip timings
  */
 #define CFG_LPC32XX_NAND_SLC_WDR_CLKS  14
-#define CONFIG_LPC32XX_NAND_SLC_WWIDTH         66666666
+#define CFG_LPC32XX_NAND_SLC_WWIDTH            66666666
 #define CFG_LPC32XX_NAND_SLC_WHOLD             200000000
 #define CFG_LPC32XX_NAND_SLC_WSETUP            50000000
 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS  14