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

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

index 10679b2aa1058be43c908a5d44f5cb3a024f8d70..051ded6a240aef4f40ec282bd2c28deaf27c97ac 100644 (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;
index 3ac67b0f489e8f4ad17adef654750aedbfafc15b..ee19c8936b9ad60643ce60e959313ebc9f36c29f 100644 (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