summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-02-12 21:29:07 +0000
committerTom Rini <trini@ti.com>2013-03-11 11:06:11 -0400
commit7831419d7bd9cf61a53ad6f7f23dae107812fdf5 (patch)
tree339338c4d16d2e0c74ed77938b00e017d935e488 /arch/arm/cpu/armv7/omap-common
parent8b12f1779e339e375151883b3d0aadbd4fdce894 (diff)
downloadu-boot-imx-7831419d7bd9cf61a53ad6f7f23dae107812fdf5.zip
u-boot-imx-7831419d7bd9cf61a53ad6f7f23dae107812fdf5.tar.gz
u-boot-imx-7831419d7bd9cf61a53ad6f7f23dae107812fdf5.tar.bz2
arm: dra7xx: Add DDR related data for DRA752 ES1.0
DRA752 uses DDR3. Populating the corresponding structures with DDR3 data. Writing into MA registers if only MA is present in that soc. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: R Sricharan <r.sricharan@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common')
-rw-r--r--arch/arm/cpu/armv7/omap-common/emif-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 0683b9f..9eb1279 100644
--- a/arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
@@ -1191,7 +1191,7 @@ void dmm_init(u32 base)
writel(lisa_map_regs->dmm_lisa_map_0,
&hw_lisa_map_regs->dmm_lisa_map_0);
- if (omap_revision() >= OMAP4460_ES1_0) {
+ if (lisa_map_regs->is_ma_present) {
hw_lisa_map_regs =
(struct dmm_lisa_map_regs *)MA_BASE;