summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/mem-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/mem-common.c')
-rw-r--r--arch/arm/mach-omap2/mem-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mem-common.c b/arch/arm/mach-omap2/mem-common.c
index 2dcf0cf9c3..803dc7fb71 100644
--- a/arch/arm/mach-omap2/mem-common.c
+++ b/arch/arm/mach-omap2/mem-common.c
@@ -135,7 +135,7 @@ void set_gpmc_cs0(int flash_type)
#if defined(CONFIG_MTD_RAW_NAND) || defined(CONFIG_CMD_NAND)
case MTD_DEV_TYPE_NAND:
gpmc_regs = gpmc_regs_nand;
- base = CONFIG_SYS_NAND_BASE;
+ base = CFG_SYS_NAND_BASE;
size = GPMC_SIZE_16M;
break;
#endif