ARM: OMAP4: fix DDR timings for OMAP4430 ES2.0
authorJanne Grunau <j@jannau.net>
Sun, 16 Feb 2014 20:57:18 +0000 (21:57 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 18:55:41 +0000 (13:55 -0500)
DDR timings were broken since 47abc3df701d8bc26f311350aa523fc1d0f8ad4e
for PandaBoard EA1.

Signed-off-by: Janne Grunau <j@jannau.net>
arch/arm/cpu/armv7/omap4/hw_data.c

index 4dec73e9ec23627b5de4f687e2b6ed6b60095337..029533c851831d0347d338353d7d2a7e3e29d98e 100644 (file)
@@ -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,
@@ -413,6 +427,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: