global: Migrate CONFIG_MXC_NAND_REGS_BASE to CFG

Perform a simple rename of CONFIG_MXC_NAND_REGS_BASE to CFG_MXC_NAND_REGS_BASE

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

View File

@ -1172,7 +1172,7 @@ int board_nand_init(struct nand_chip *this)
this->write_buf = mxc_nand_write_buf;
this->read_buf = mxc_nand_read_buf;
host->regs = (struct mxc_nand_regs __iomem *)CONFIG_MXC_NAND_REGS_BASE;
host->regs = (struct mxc_nand_regs __iomem *)CFG_MXC_NAND_REGS_BASE;
#ifdef MXC_NFC_V3_2
host->ip_regs =
(struct mxc_nand_ip_regs __iomem *)CFG_MXC_NAND_IP_REGS_BASE;

View File

@ -45,7 +45,7 @@
*/
#ifdef CONFIG_CMD_NAND
#define CFG_SYS_NAND_BASE NFC_BASE_ADDR_AXI
#define CONFIG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI
#define CFG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI
#define CFG_MXC_NAND_IP_REGS_BASE NFC_BASE_ADDR
#define CFG_SYS_NAND_LARGEPAGE
#endif