public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] powerpc/mpc85xx: modify erratum A007212
Date: Fri, 26 Sep 2014 09:02:13 -0700	[thread overview]
Message-ID: <54258E05.2000204@freescale.com> (raw)
In-Reply-To: <f2040413ea1445cfa23359b3d7ac2d6b@BLUPR03MB341.namprd03.prod.outlook.com>

On 09/25/2014 10:55 PM, Zhao Qiang-B45475 wrote:
> 
> On 9/26/14 1:01 PM, York Sun wrote:
> 
>> -----Original Message-----
>> From: Sun York-R58495
>> Sent: Friday, September 26, 2014 1:01 PM
>> To: Zhao Qiang-B45475; u-boot at lists.denx.de
>> Cc: Xie Xiaobo-R63061; Zhao Qiang-B45475
>> Subject: Re: [PATCH 2/2] powerpc/mpc85xx: modify erratum A007212
>>
>> On 9/25/14 9:37 PM, "Zhao Qiang" <B45475@freescale.com> wrote:
>>
>>> T2080 v1.0 has this errata while v1.1 has fixed this errata by
>>> hardware, add a new function to check the SVR_SOC_VER, SVR_MAJ and
>>> SVR_MIN first, if the cpu is T2080 and version is not v1.0, doesn't run
>>> the a007212 errata_workaround.
>>>
>>> Signed-off-by: Zhao Qiang <B45475@freescale.com>
>>> ---
>>
>>
>> Qiang,
>>
>> I don't agree with your analysis.
>>
>> This workaround has two parts. One part is to to disable DDR PLL in RCW.
>> The second part is to detect DDR PLL is disabled and to implement the
>> software workaround to bring DDR up. U-boot has the second part, it is
>> safe to apply to all versions for affected SoC. I put in the comments.
>> Your patch detects the SVR and decide if the workaround should be applied.
>> This is wrong. It should detect if DDR PLL is disabled. In case an old
>> RCW is used, you don't want to end up with a dead board because DDR is
>> disabled.
> 
> OK , got it , I will modify it for v2.
> Thanks for you comment.
> 

Qiang,

I don't think you even need a patch for this. The logic for u-boot code is:

Regardless of the SVR, the workaround is not be applied if RCW doesn't disable
DDR PLL.
Regardless of the SVR, the workaround is and should be applied if RCW disables
DDR PLL.

York

  reply	other threads:[~2014-09-26 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26  4:37 [U-Boot] [PATCH 1/2] powerpc/mpc85xx: modify erratum A007186 Zhao Qiang
2014-09-26  4:37 ` [U-Boot] [PATCH 2/2] powerpc/mpc85xx: modify erratum A007212 Zhao Qiang
2014-09-26  5:00   ` York Sun
2014-09-26  5:55     ` qiang.zhao at freescale.com
2014-09-26 16:02       ` York Sun [this message]
2014-09-28  1:56         ` qiang.zhao at freescale.com
2014-09-28  3:07           ` York Sun
2014-09-26 16:10 ` [U-Boot] [PATCH 1/2] powerpc/mpc85xx: modify erratum A007186 York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54258E05.2000204@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox