]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/mem-common.c
ARM: omap: clean redundant PISMO_xx macros used in OMAP3
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / mem-common.c
index e9da70fe7098f0182f0b550221c09e2820c0d5a7..fc4290c3c4e0227443f8a8a5a079d8187aa74681 100644 (file)
@@ -115,8 +115,8 @@ void gpmc_init(void)
                                                ONENAND_GPMC_CONFIG6,
                                                0
                                                };
-       u32 base = PISMO1_ONEN_BASE;
-       u32 size = PISMO1_ONEN_SIZE;
+       u32 size = GPMC_SIZE_128M;
+       u32 base = CONFIG_SYS_ONENAND_BASE;
 #else
        const u32 gpmc_regs[GPMC_MAX_REG] = { 0, 0, 0, 0, 0, 0, 0 };
        u32 size = 0;