[PoC 102/241] global: Migrate CONFIG_LPC32XX_NAND_SLC_RSETUP to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 14:31:33 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/mtd/nand/raw/lpc32xx_nand_slc.c | 2 +-
 include/configs/devkit3250.h            | 2 +-
 scripts/config_whitelist.txt            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_slc.c b/drivers/mtd/nand/raw/lpc32xx_nand_slc.c
index 1fdc80989fab..71e8286d1c8f 100644
--- a/drivers/mtd/nand/raw/lpc32xx_nand_slc.c
+++ b/drivers/mtd/nand/raw/lpc32xx_nand_slc.c
@@ -133,7 +133,7 @@ static void lpc32xx_nand_init(void)
 	       TAC_R_RDY(CFG_LPC32XX_NAND_SLC_RDR_CLKS) |
 	       TAC_R_WIDTH(hclk / CONFIG_LPC32XX_NAND_SLC_RWIDTH) |
 	       TAC_R_HOLD(hclk / CFG_LPC32XX_NAND_SLC_RHOLD) |
-	       TAC_R_SETUP(hclk / CONFIG_LPC32XX_NAND_SLC_RSETUP),
+	       TAC_R_SETUP(hclk / CFG_LPC32XX_NAND_SLC_RSETUP),
 	       &lpc32xx_nand_slc_regs->tac);
 }
 
diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
index 0b815ded7322..72cf031e05da 100644
--- a/include/configs/devkit3250.h
+++ b/include/configs/devkit3250.h
@@ -48,7 +48,7 @@
 #define CFG_LPC32XX_NAND_SLC_RDR_CLKS	14
 #define CONFIG_LPC32XX_NAND_SLC_RWIDTH		66666666
 #define CFG_LPC32XX_NAND_SLC_RHOLD		200000000
-#define CONFIG_LPC32XX_NAND_SLC_RSETUP		50000000
+#define CFG_LPC32XX_NAND_SLC_RSETUP		50000000
 
 /*
  * USB
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7ced36635799..fc20b83d66d0 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -110,7 +110,7 @@ CFG_LPC32XX_NAND_MLC_WR_HIGH
 CFG_LPC32XX_NAND_MLC_WR_LOW
 CFG_LPC32XX_NAND_SLC_RDR_CLKS
 CFG_LPC32XX_NAND_SLC_RHOLD
-CONFIG_LPC32XX_NAND_SLC_RSETUP
+CFG_LPC32XX_NAND_SLC_RSETUP
 CONFIG_LPC32XX_NAND_SLC_RWIDTH
 CONFIG_LPC32XX_NAND_SLC_WDR_CLKS
 CONFIG_LPC32XX_NAND_SLC_WHOLD
-- 
2.25.1



More information about the U-Boot mailing list