]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
karo: tx53: fix DDR_SEL value
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Aug 2014 08:11:50 +0000 (10:11 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 14 Aug 2014 12:34:01 +0000 (14:34 +0200)
The current value is inappropriate for DDR3.
When adding support for the HW rev. 3 of the TX53 module that has DDR3
instead of DDR2 memory, the values for both memory type were
erroneously swapped, so that after removing DDR2 support lateron, the
wrong value was kept.

board/karo/tx53/lowlevel_init.S

index 21ee4d87856b4f8ecb65d3bd9a3037fab0e20ac6..ceddce990243ae46f2dc2154ce029b2ec2afbd06 100644 (file)
@@ -409,7 +409,7 @@ dcd_hdr:
        MXC_DCD_ITEM(0x53fd4020, 0xb6b12f0a)    /* CSCMR2 */
        MXC_DCD_ITEM(0x53fd4024, 0x00080b18)    /* CSCDR1 */
 
        MXC_DCD_ITEM(0x53fd4020, 0xb6b12f0a)    /* CSCMR2 */
        MXC_DCD_ITEM(0x53fd4024, 0x00080b18)    /* CSCDR1 */
 
-#define DDR_SEL_VAL    2
+#define DDR_SEL_VAL    0
 #define DSE_VAL                5
 #define ODT_VAL                2
 
 #define DSE_VAL                5
 #define ODT_VAL                2