All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
@ 2012-03-22 22:00 Troy Kisky
  2012-03-23  1:47 ` Troy Kisky
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Troy Kisky @ 2012-03-22 22:00 UTC (permalink / raw)
  To: u-boot

Currently, board files are setting this field to 0x01
which the manual says is a reserved value. Change to
use the default of 0x04 - 128 cycles.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
---
 board/freescale/mx53ard/imximage_dd3.cfg |    2 +-
 board/freescale/mx53evk/imximage.cfg     |    2 +-
 board/freescale/mx53loco/imximage.cfg    |    2 +-
 board/freescale/mx53smd/imximage.cfg     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)




I've tested on an mx53, but this needs much more
testing before being applied.




diff --git a/board/freescale/mx53ard/imximage_dd3.cfg b/board/freescale/mx53ard/imximage_dd3.cfg
index 50e05af..614d29e 100644
--- a/board/freescale/mx53ard/imximage_dd3.cfg
+++ b/board/freescale/mx53ard/imximage_dd3.cfg
@@ -91,6 +91,6 @@ DATA 4 0x63fd901c 0x00028039
 DATA 4 0x63fd901c 0x05208138
 DATA 4 0x63fd901c 0x04008048
 DATA 4 0x63fd9020 0x00005800
-DATA 4 0x63fd9040 0x04b80003
+DATA 4 0x63fd9040 0x05380003
 DATA 4 0x63fd9058 0x00022227
 DATA 4 0x63fd901C 0x00000000
diff --git a/board/freescale/mx53evk/imximage.cfg b/board/freescale/mx53evk/imximage.cfg
index dd7528c..915fb2c 100644
--- a/board/freescale/mx53evk/imximage.cfg
+++ b/board/freescale/mx53evk/imximage.cfg
@@ -108,5 +108,5 @@ DATA 4 0x63fd901c 0x00448039
 DATA 4 0x63fd9020 0x00005800
 DATA 4 0x63fd9058 0x00033335
 DATA 4 0x63fd901c 0x00000000
-DATA 4 0x63fd9040 0x04b80003
+DATA 4 0x63fd9040 0x05380003
 DATA 4 0x53fa8004 0x00194005
diff --git a/board/freescale/mx53loco/imximage.cfg b/board/freescale/mx53loco/imximage.cfg
index f30258e..2ce5f8d 100644
--- a/board/freescale/mx53loco/imximage.cfg
+++ b/board/freescale/mx53loco/imximage.cfg
@@ -91,6 +91,6 @@ DATA 4 0x63fd901c 0x00028039
 DATA 4 0x63fd901c 0x05208138
 DATA 4 0x63fd901c 0x04008048
 DATA 4 0x63fd9020 0x00005800
-DATA 4 0x63fd9040 0x04b80003
+DATA 4 0x63fd9040 0x05380003
 DATA 4 0x63fd9058 0x00022227
 DATA 4 0x63fd901c 0x00000000
diff --git a/board/freescale/mx53smd/imximage.cfg b/board/freescale/mx53smd/imximage.cfg
index 50e05af..614d29e 100644
--- a/board/freescale/mx53smd/imximage.cfg
+++ b/board/freescale/mx53smd/imximage.cfg
@@ -91,6 +91,6 @@ DATA 4 0x63fd901c 0x00028039
 DATA 4 0x63fd901c 0x05208138
 DATA 4 0x63fd901c 0x04008048
 DATA 4 0x63fd9020 0x00005800
-DATA 4 0x63fd9040 0x04b80003
+DATA 4 0x63fd9040 0x05380003
 DATA 4 0x63fd9058 0x00022227
 DATA 4 0x63fd901C 0x00000000
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-22 22:00 [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS Troy Kisky
@ 2012-03-23  1:47 ` Troy Kisky
  2012-03-23  3:25   ` Troy Kisky
  2012-03-28 13:10 ` Fabio Estevam
  2012-03-28 13:26 ` Stefano Babic
  2 siblings, 1 reply; 9+ messages in thread
From: Troy Kisky @ 2012-03-23  1:47 UTC (permalink / raw)
  To: u-boot

On 3/22/2012 3:00 PM, Troy Kisky wrote:
> Currently, board files are setting this field to 0x01
> which the manual says is a reserved value. Change to
> use the default of 0x04 - 128 cycles.
Typo, should say default of 0x02 - 128 cycles

>
> Signed-off-by: Troy Kisky<troy.kisky@boundarydevices.com>
> ---
>   board/freescale/mx53ard/imximage_dd3.cfg |    2 +-
>   board/freescale/mx53evk/imximage.cfg     |    2 +-
>   board/freescale/mx53loco/imximage.cfg    |    2 +-
>   board/freescale/mx53smd/imximage.cfg     |    2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
>
>
>
>
> I've tested on an mx53, but this needs much more
> testing before being applied.
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-23  1:47 ` Troy Kisky
@ 2012-03-23  3:25   ` Troy Kisky
  2012-03-23  9:34     ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Troy Kisky @ 2012-03-23  3:25 UTC (permalink / raw)
  To: u-boot

On 3/22/2012 6:47 PM, Troy Kisky wrote:
> On 3/22/2012 3:00 PM, Troy Kisky wrote:
>> Currently, board files are setting this field to 0x01
>> which the manual says is a reserved value. Change to
>> use the default of 0x04 - 128 cycles.
> Typo, should say default of 0x02 - 128 cycles
>
Possibly the manual is wrong, and the value of 0x01 corresponds
to 64 cycles? My testing was on a DDR2 device where this field
is not relevant.


>>
>> Signed-off-by: Troy Kisky<troy.kisky@boundarydevices.com>
>> ---
>>   board/freescale/mx53ard/imximage_dd3.cfg |    2 +-
>>   board/freescale/mx53evk/imximage.cfg     |    2 +-
>>   board/freescale/mx53loco/imximage.cfg    |    2 +-
>>   board/freescale/mx53smd/imximage.cfg     |    2 +-
>>   4 files changed, 4 insertions(+), 4 deletions(-)
>>
>>
>>
>>
>> I've tested on an mx53, but this needs much more
>> testing before being applied.
>>
>>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-23  3:25   ` Troy Kisky
@ 2012-03-23  9:34     ` Stefano Babic
  2012-03-23 16:50       ` Fabio Estevam
  0 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2012-03-23  9:34 UTC (permalink / raw)
  To: u-boot

On 23/03/2012 04:25, Troy Kisky wrote:
> On 3/22/2012 6:47 PM, Troy Kisky wrote:
>> On 3/22/2012 3:00 PM, Troy Kisky wrote:
>>> Currently, board files are setting this field to 0x01
>>> which the manual says is a reserved value. Change to
>>> use the default of 0x04 - 128 cycles.
>> Typo, should say default of 0x02 - 128 cycles
>>
> Possibly the manual is wrong, and the value of 0x01 corresponds
> to 64 cycles? My testing was on a DDR2 device where this field
> is not relevant.

Is there someone who can answer to this question ? This patch fixes the
value according to the manual, without doubts. But if the manual is wrong...

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-23  9:34     ` Stefano Babic
@ 2012-03-23 16:50       ` Fabio Estevam
  0 siblings, 0 replies; 9+ messages in thread
From: Fabio Estevam @ 2012-03-23 16:50 UTC (permalink / raw)
  To: u-boot

Hi Stefano,

On Fri, Mar 23, 2012 at 6:34 AM, Stefano Babic <sbabic@denx.de> wrote:

> Is there someone who can answer to this question ? This patch fixes the
> value according to the manual, without doubts. But if the manual is wrong...

We are checking this internally at Freescale and will keep the list updated.

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-22 22:00 [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS Troy Kisky
  2012-03-23  1:47 ` Troy Kisky
@ 2012-03-28 13:10 ` Fabio Estevam
  2012-03-28 13:26 ` Stefano Babic
  2 siblings, 0 replies; 9+ messages in thread
From: Fabio Estevam @ 2012-03-28 13:10 UTC (permalink / raw)
  To: u-boot

On 3/22/12, Troy Kisky <troy.kisky@boundarydevices.com> wrote:
> Currently, board files are setting this field to 0x01
> which the manual says is a reserved value. Change to
> use the default of 0x04 - 128 cycles.
>
> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>

Confirmed with the design team that your patch is correct.

Thanks for catching this.

Acked-by: Fabio Estevam <fabio.estevam@freescale.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-22 22:00 [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS Troy Kisky
  2012-03-23  1:47 ` Troy Kisky
  2012-03-28 13:10 ` Fabio Estevam
@ 2012-03-28 13:26 ` Stefano Babic
  2012-03-28 13:31   ` Fabio Estevam
  2 siblings, 1 reply; 9+ messages in thread
From: Stefano Babic @ 2012-03-28 13:26 UTC (permalink / raw)
  To: u-boot

On 22/03/2012 23:00, Troy Kisky wrote:
> Currently, board files are setting this field to 0x01
> which the manual says is a reserved value. Change to
> use the default of 0x04 - 128 cycles.
> 
> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> ---

Thanks everybody to fix / explain this issue.

Applied to u-boot-imx(fix), thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-28 13:26 ` Stefano Babic
@ 2012-03-28 13:31   ` Fabio Estevam
  2012-03-28 13:43     ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Fabio Estevam @ 2012-03-28 13:31 UTC (permalink / raw)
  To: u-boot

On 3/28/12, Stefano Babic <sbabic@denx.de> wrote:
> On 22/03/2012 23:00, Troy Kisky wrote:
>> Currently, board files are setting this field to 0x01
>> which the manual says is a reserved value. Change to
>> use the default of 0x04 - 128 cycles.
>>
>> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
>> ---
>
> Thanks everybody to fix / explain this issue.
>
> Applied to u-boot-imx(fix), thanks.

Just noticed in this thread that Troy reported a typo in his commit
log: it should have said
"default of 0x02 - 128 cycles"

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS
  2012-03-28 13:31   ` Fabio Estevam
@ 2012-03-28 13:43     ` Stefano Babic
  0 siblings, 0 replies; 9+ messages in thread
From: Stefano Babic @ 2012-03-28 13:43 UTC (permalink / raw)
  To: u-boot

On 28/03/2012 15:31, Fabio Estevam wrote:
> On 3/28/12, Stefano Babic <sbabic@denx.de> wrote:
>> On 22/03/2012 23:00, Troy Kisky wrote:
>>> Currently, board files are setting this field to 0x01
>>> which the manual says is a reserved value. Change to
>>> use the default of 0x04 - 128 cycles.
>>>
>>> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
>>> ---
>>
>> Thanks everybody to fix / explain this issue.
>>
>> Applied to u-boot-imx(fix), thanks.
> 
> Just noticed in this thread that Troy reported a typo in his commit
> log: it should have said
> "default of 0x02 - 128 cycles"

Right - I have fixed it myself on the tree, thanks.

Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-03-28 13:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 22:00 [U-Boot] [PATCH 1/1] MX53: DDR: Fix ZQHWCTRL field TZQ_CS Troy Kisky
2012-03-23  1:47 ` Troy Kisky
2012-03-23  3:25   ` Troy Kisky
2012-03-23  9:34     ` Stefano Babic
2012-03-23 16:50       ` Fabio Estevam
2012-03-28 13:10 ` Fabio Estevam
2012-03-28 13:26 ` Stefano Babic
2012-03-28 13:31   ` Fabio Estevam
2012-03-28 13:43     ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.