]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/km8360: fix the ODT parameters for CS0
authorValentin Longchamp <valentin.longchamp@keymile.com>
Tue, 17 Nov 2015 09:53:33 +0000 (10:53 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:56 +0000 (15:28 -0500)
The ODT parameters for km8360 set the ODT_WR_ACS bit in u-boot KM-2011.09
that is used in the release bootpackage for kmcoge5ne. During the
transition from the kmeter1 to km8360 this was changed to
ODT_RD_ONLY_CURRENT, which is uncorrect and causes faulty RAM accesses at
low temperatures.

This is now changed to ODT_WR_ONLY_CURRENT which is the equivalent of
ODT_WR_ACS.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
include/configs/km8360.h

index c517e78df2eff81bb341393218b8d77c741e425c..49b92007de8a8b335f21742102db4f4a29059432 100644 (file)
@@ -99,7 +99,7 @@
 #define CONFIG_SYS_DDR_CS0_CONFIG (\
        CSCONFIG_EN | \
        CSCONFIG_AP | \
-       CSCONFIG_ODT_RD_ONLY_CURRENT | \
+       CSCONFIG_ODT_WR_ONLY_CURRENT | \
        CSCONFIG_BANK_BIT_3 | \
        CSCONFIG_ROW_BIT_13 | \
        CSCONFIG_COL_BIT_10)
 #define CONFIG_SYS_DDR_CS0_CONFIG      (CSCONFIG_EN | CSCONFIG_AP | \
                                         CSCONFIG_ROW_BIT_13 | \
                                         CSCONFIG_COL_BIT_10 | \
-                                        CSCONFIG_ODT_RD_ONLY_CURRENT)
+                                        CSCONFIG_ODT_WR_ONLY_CURRENT)
 #endif
 
 #define CONFIG_SYS_DDR_CLK_CNTL (\