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

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

index 71e8286d1c8fd1340f8bc372baa75deecb6cf8c9..fb1fb2d7dccfed961331a277fd21cd96103e4417 100644 (file)
@@ -131,7 +131,7 @@ static void lpc32xx_nand_init(void)
               TAC_W_HOLD(hclk / CONFIG_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 / CONFIG_LPC32XX_NAND_SLC_RWIDTH) |
+              TAC_R_WIDTH(hclk / CFG_LPC32XX_NAND_SLC_RWIDTH) |
               TAC_R_HOLD(hclk / CFG_LPC32XX_NAND_SLC_RHOLD) |
               TAC_R_SETUP(hclk / CFG_LPC32XX_NAND_SLC_RSETUP),
               &lpc32xx_nand_slc_regs->tac);
index 72cf031e05da87ef83d5340d3c2212356351b808..5ba8c1bb20e26dbfc8080759137a33bd77c14e59 100644 (file)
@@ -46,7 +46,7 @@
 #define CONFIG_LPC32XX_NAND_SLC_WHOLD          200000000
 #define CONFIG_LPC32XX_NAND_SLC_WSETUP         50000000
 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS  14
-#define CONFIG_LPC32XX_NAND_SLC_RWIDTH         66666666
+#define CFG_LPC32XX_NAND_SLC_RWIDTH            66666666
 #define CFG_LPC32XX_NAND_SLC_RHOLD             200000000
 #define CFG_LPC32XX_NAND_SLC_RSETUP            50000000