[PoC 096/241] global: Migrate CONFIG_LPC32XX_NAND_MLC_RD_LOW to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:31:27 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
drivers/mtd/nand/raw/lpc32xx_nand_mlc.c | 2 +-
include/configs/work_92105.h | 2 +-
scripts/config_whitelist.txt | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
index 388be16e2e71..e75ed1f2ae9c 100644
--- a/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
+++ b/drivers/mtd/nand/raw/lpc32xx_nand_mlc.c
@@ -145,7 +145,7 @@ static void lpc32xx_nand_init(void)
clkdiv(CFG_LPC32XX_NAND_MLC_BUSY_DELAY, 0x1F, 19) |
clkdiv(CFG_LPC32XX_NAND_MLC_NAND_TA, 0x07, 16) |
clkdiv(CFG_LPC32XX_NAND_MLC_RD_HIGH, 0x0F, 12) |
- clkdiv(CONFIG_LPC32XX_NAND_MLC_RD_LOW, 0x0F, 8) |
+ clkdiv(CFG_LPC32XX_NAND_MLC_RD_LOW, 0x0F, 8) |
clkdiv(CONFIG_LPC32XX_NAND_MLC_WR_HIGH, 0x0F, 4) |
clkdiv(CONFIG_LPC32XX_NAND_MLC_WR_LOW, 0x0F, 0),
&lpc32xx_nand_mlc_registers->time_reg);
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 3959051a4ca6..1a4617c5c02b 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -31,7 +31,7 @@
#define CFG_LPC32XX_NAND_MLC_BUSY_DELAY 10000000
#define CFG_LPC32XX_NAND_MLC_NAND_TA 18181818
#define CFG_LPC32XX_NAND_MLC_RD_HIGH 31250000
-#define CONFIG_LPC32XX_NAND_MLC_RD_LOW 45454545
+#define CFG_LPC32XX_NAND_MLC_RD_LOW 45454545
#define CONFIG_LPC32XX_NAND_MLC_WR_HIGH 40000000
#define CONFIG_LPC32XX_NAND_MLC_WR_LOW 83333333
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index eda174693c08..4c28d978ce8a 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -104,7 +104,7 @@ CFG_LOWPOWER_FLAG
CFG_LPC32XX_NAND_MLC_BUSY_DELAY
CFG_LPC32XX_NAND_MLC_NAND_TA
CFG_LPC32XX_NAND_MLC_RD_HIGH
-CONFIG_LPC32XX_NAND_MLC_RD_LOW
+CFG_LPC32XX_NAND_MLC_RD_LOW
CONFIG_LPC32XX_NAND_MLC_TCEA_DELAY
CONFIG_LPC32XX_NAND_MLC_WR_HIGH
CONFIG_LPC32XX_NAND_MLC_WR_LOW
--
2.25.1
More information about the U-Boot
mailing list