global: Migrate CONFIG_LPC32XX_NAND_SLC_WWIDTH to CFG

Perform a simple rename of CONFIG_LPC32XX_NAND_SLC_WWIDTH to CFG_LPC32XX_NAND_SLC_WWIDTH

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-12-04 10:04:48 -05:00
parent 308ed80839
commit bd79d3d616
2 changed files with 2 additions and 2 deletions

View 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) |

View 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