]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Make CONFIG_DRAM_TPR3 apply to sun[57]i
authorAdam Sampson <ats@offog.org>
Mon, 23 Feb 2015 20:44:10 +0000 (20:44 +0000)
committerHans de Goede <hdegoede@redhat.com>
Tue, 10 Mar 2015 14:20:23 +0000 (15:20 +0100)
The tpr3 (timing skew) parameter is used in all supported versions of
the sunxi DRAM controller, but it was only enabled for sun4i in
47e3501a76894f4ba08bc61f33774bd5d39ff464.

Signed-off-by: Adam Sampson <ats@offog.org>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/dram_sun5i_auto.c

index e52d54c32e4304e3892a68f4267be6727a3cbbfe..660b18ebbdc1b8a653e215aa6e709c4c137a8971 100644 (file)
@@ -24,7 +24,7 @@ static struct dram_para dram_para = {
 #      include "dram_timings_sun4i.h"
        .active_windowing = 1,
 #endif
-       .tpr3 = 0,
+       .tpr3 = CONFIG_DRAM_TPR3,
        .tpr4 = 0,
        .tpr5 = 0,
        .emr1 = CONFIG_DRAM_EMR1,