Re: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-02-12 Thread Stefano Babic
On 30/01/2013 22:19, Benoît Thébaudeau wrote: > MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3. > > For all DDR3 speed bins: > tMRD(min) = 4 nCK > tMOD(min) = max(12 nCK, 15 ns) > > Hence, MMDC1_MDCFG1.tMRD should be set to max(12 nCK, 15 ns), which is 12 nCK > at 532 MHz, encode

Re: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-02-01 Thread Eric Nelson
Hi Benoît, On 01/31/2013 04:25 PM, Benoît Thébaudeau wrote: On Friday, February 1, 2013 12:14:53 AM, Eric Nelson wrote: On 01/30/2013 02:19 PM, Benoît Thébaudeau wrote: MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3. For all DDR3 speed bins: tMRD(min) = 4 nCK tMOD(min) =

Re: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-02-01 Thread Benoît Thébaudeau
Hi Eric, On Friday, February 1, 2013 7:28:05 PM, Eric Nelson wrote: > Hi Benoît, > > On 01/31/2013 04:25 PM, Benoît Thébaudeau wrote: > > On Friday, February 1, 2013 12:14:53 AM, Eric Nelson wrote: > >> On 01/30/2013 02:19 PM, Benoît Thébaudeau wrote: > >>> MMDC1_MDCFG1.tMRD should be set to max(

Re: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-01-31 Thread Benoît Thébaudeau
Hi Eric, On Friday, February 1, 2013 12:14:53 AM, Eric Nelson wrote: > On 01/30/2013 02:19 PM, Benoît Thébaudeau wrote: > > MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3. > > > > For all DDR3 speed bins: > >tMRD(min) = 4 nCK > >tMOD(min) = max(12 nCK, 15 ns) > > > > Hence, MM

Re: [U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-01-31 Thread Eric Nelson
On 01/30/2013 02:19 PM, Benoît Thébaudeau wrote: MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3. For all DDR3 speed bins: tMRD(min) = 4 nCK tMOD(min) = max(12 nCK, 15 ns) Hence, MMDC1_MDCFG1.tMRD should be set to max(12 nCK, 15 ns), which is 12 nCK at 532 MHz, encoded as 0xB

[U-Boot] [PATCH 1/6] imx: mx6q DDR3 init: Fix tMRD

2013-01-30 Thread Benoît Thébaudeau
MMDC1_MDCFG1.tMRD should be set to max(tMRD, tMOD) for DDR3. For all DDR3 speed bins: tMRD(min) = 4 nCK tMOD(min) = max(12 nCK, 15 ns) Hence, MMDC1_MDCFG1.tMRD should be set to max(12 nCK, 15 ns), which is 12 nCK at 532 MHz, encoded as 0xB in the bit-field MMDC1_MDCFG1[8:5]. Signed-off-by: B