summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap5/sdram.c
diff options
context:
space:
mode:
authorRavi Babu <ravibabu@ti.com>2016-03-15 18:09:11 -0500
committerTom Rini <trini@konsulko.com>2016-03-27 09:12:12 -0400
commitd851ad3a661d58c6992a5b6e3ea6b8c27b225e04 (patch)
tree1480e19132de006543280d099b9c17f3488bdea3 /arch/arm/cpu/armv7/omap5/sdram.c
parentbe8d324191f3cd2f4861629ccf69106d58aaa70f (diff)
downloadu-boot-imx-d851ad3a661d58c6992a5b6e3ea6b8c27b225e04.zip
u-boot-imx-d851ad3a661d58c6992a5b6e3ea6b8c27b225e04.tar.gz
u-boot-imx-d851ad3a661d58c6992a5b6e3ea6b8c27b225e04.tar.bz2
ARM: DRA72x: Add support for detection of SR2.0
Add support for detection of SR2.0 version of DRA72x family of processors. Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap5/sdram.c')
-rw-r--r--arch/arm/cpu/armv7/omap5/sdram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap5/sdram.c b/arch/arm/cpu/armv7/omap5/sdram.c
index 7dc5bb7..5cf360c 100644
--- a/arch/arm/cpu/armv7/omap5/sdram.c
+++ b/arch/arm/cpu/armv7/omap5/sdram.c
@@ -438,6 +438,7 @@ void __weak emif_get_ext_phy_ctrl_const_regs(u32 emif_nr,
}
break;
case DRA722_ES1_0:
+ case DRA722_ES2_0:
*regs = dra_ddr3_ext_phy_ctrl_const_base_666MHz;
*size = ARRAY_SIZE(dra_ddr3_ext_phy_ctrl_const_base_666MHz);
break;
@@ -670,6 +671,7 @@ const struct read_write_regs *get_bug_regs(u32 *iterations)
case DRA752_ES1_1:
case DRA752_ES2_0:
case DRA722_ES1_0:
+ case DRA722_ES2_0:
bug_00339_regs_ptr = dra_bug_00339_regs;
*iterations = sizeof(dra_bug_00339_regs)/
sizeof(dra_bug_00339_regs[0]);