From: Adam Sampson Date: Mon, 23 Feb 2015 20:44:10 +0000 (+0000) Subject: sunxi: Make CONFIG_DRAM_TPR3 apply to sun[57]i X-Git-Tag: v2015.04-rc4~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d6e18df605aaa85861f2efb4509362779e6101d;p=oweals%2Fu-boot.git sunxi: Make CONFIG_DRAM_TPR3 apply to sun[57]i 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 Acked-by: Siarhei Siamashka Acked-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/board/sunxi/dram_sun5i_auto.c b/board/sunxi/dram_sun5i_auto.c index e52d54c32e..660b18ebbd 100644 --- a/board/sunxi/dram_sun5i_auto.c +++ b/board/sunxi/dram_sun5i_auto.c @@ -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,