]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x: Really correct DDR timings on new BeagleBone part
authorTom Rini <trini@ti.com>
Fri, 12 Apr 2013 16:38:16 +0000 (12:38 -0400)
committerTom Rini <trini@ti.com>
Fri, 12 Apr 2013 16:38:16 +0000 (12:38 -0400)
The previous timings were done on the internal-only A1 board which has
different DDR part than all later revs.  The timings need a slight
adjustment to be correct in all cases with later revs.

Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/include/asm/arch-am33xx/ddr_defs.h

index 914df015250f87ac2f18eb87fd600641b1b7835d..fb4e78edfed1d69b08b7c4991cafb7f8f7587811 100644 (file)
 /* Micron MT41K256M16HA-125E */
 #define MT41K256M16HA125E_EMIF_READ_LATENCY    0x100007
 #define MT41K256M16HA125E_EMIF_TIM1            0x0AAAD4DB
-#define MT41K256M16HA125E_EMIF_TIM2            0x26437FDA
-#define MT41K256M16HA125E_EMIF_TIM3            0x501F83FF
-#define MT41K256M16HA125E_EMIF_SDCFG           0x61C052B2
+#define MT41K256M16HA125E_EMIF_TIM2            0x266B7FDA
+#define MT41K256M16HA125E_EMIF_TIM3            0x501F867F
+#define MT41K256M16HA125E_EMIF_SDCFG           0x61C05332
 #define MT41K256M16HA125E_EMIF_SDREF           0xC30
 #define MT41K256M16HA125E_ZQ_CFG               0x50074BE4
 #define MT41K256M16HA125E_DLL_LOCK_DIFF                0x1
 #define MT41K256M16HA125E_RATIO                        0x80
 #define MT41K256M16HA125E_INVERT_CLKOUT                0x0
-#define MT41K256M16HA125E_RD_DQS               0x3A
-#define MT41K256M16HA125E_WR_DQS               0x42
-#define MT41K256M16HA125E_PHY_WR_DATA          0x7E
-#define MT41K256M16HA125E_PHY_FIFO_WE          0x9B
+#define MT41K256M16HA125E_RD_DQS               0x38
+#define MT41K256M16HA125E_WR_DQS               0x44
+#define MT41K256M16HA125E_PHY_WR_DATA          0x7D
+#define MT41K256M16HA125E_PHY_FIFO_WE          0x94
 #define MT41K256M16HA125E_IOCTRL_VALUE         0x18B
 
 /* Micron MT41J512M8RH-125 on EVM v1.5 */