Skip to contentSkip to conversation

ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0

PATCH New Janne Grunau 2 participants 2 messages Feb 16, 2014 – Feb 21, 2014 1 message not in the archive Arm (32-bit)

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0

In reply to a message not in the archive

DDR timings were broken since 47abc3df701d8bc26f311350aa523fc1d0f8ad4e for PandaBoard EA1.

---
 arch/arm/cpu/armv7/omap4/hw_data.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/cpu/armv7/omap4/hw_data.c +18 -0
index 1b2f439..b90f8b5 100644
@@ -172,6 +172,20 @@ struct dplls omap4430_dplls_es1 = {
 	.ddr = NULL
 };
 
+struct dplls omap4430_dplls_es20 = {
+	.mpu = mpu_dpll_params_1200mhz,
+	.core = core_dpll_params_es2_1600mhz_ddr200mhz,
+	.per = per_dpll_params_1536mhz,
+	.iva = iva_dpll_params_1862mhz,
+#ifdef CONFIG_SYS_OMAP_ABE_SYSCK
+	.abe = abe_dpll_params_sysclk_196608khz,
+#else
+	.abe = &abe_dpll_params_32k_196608khz,
+#endif
+	.usb = usb_dpll_params_1920mhz,
+	.ddr = NULL
+};
+
 struct dplls omap4430_dplls = {
 	.mpu = mpu_dpll_params_1200mhz,
 	.core = core_dpll_params_1600mhz,
@@ -498,6 +512,10 @@ void hw_data_init(void)
 	break;
 
 	case OMAP4430_ES2_0:
+	*dplls_data = &omap4430_dplls_es20;
+	*omap_vcores = &omap4430_volts;
+	break;
+
 	case OMAP4430_ES2_1:
 	case OMAP4430_ES2_2:
 	case OMAP4430_ES2_3:
Signature · 1 line
1.8.5.5
#2 lore raw

PATCH 1/1 ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0

Quoted 4 lines · Janne Grunau

DDR timings were broken since 47abc3df701d8bc26f311350aa523fc1d0f8ad4e for PandaBoard EA1.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/fc3f6973/attachment.pgp>