summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mxs/include/mach/imx23.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mxs/include/mach/imx23.h b/arch/arm/mach-mxs/include/mach/imx23.h
index bdd3ae4407..03eddabed0 100644
--- a/arch/arm/mach-mxs/include/mach/imx23.h
+++ b/arch/arm/mach-mxs/include/mach/imx23.h
@@ -25,7 +25,7 @@ static inline u32 imx23_get_memsize(void)
cs0 = FIELD_GET(DRAM_CTL14_CS0_EN, ctl14);
cs1 = FIELD_GET(DRAM_CTL14_CS1_EN, ctl14);
- return (1 << columns) * (1 << rows) * banks * (cs0 + cs1);
+ return 2 * (1 << columns) * (1 << rows) * banks * (cs0 + cs1);
}
#endif /* __MACH_IMX23_H */