All of lore.kernel.org
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261
Date: Mon, 24 Feb 2014 14:38:09 -0800	[thread overview]
Message-ID: <530BC9D1.5090303@freescale.com> (raw)
In-Reply-To: <1391109185.6733.20.camel@snotra.buserror.net>

On 01/30/2014 11:13 AM, Scott Wood wrote:
> On Thu, 2014-01-30 at 10:42 +0530, Suresh Gupta wrote:
>> +#ifdef CONFIG_SYS_FSL_ERRATUM_A006261
>> +static inline bool has_erratum_a006261(void)
>> +{
>> +	u32 svr = get_svr();
>> +	u32 soc = SVR_SOC_VER(svr);
>> +
>> +	switch (soc) {
>> +	case SVR_P1010:
>> +		return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0);
>> +	case SVR_P2041:
>> +		return IS_SVR_REV(svr, 1, 0) ||
>> +			IS_SVR_REV(svr, 1, 1) || IS_SVR_REV(svr, 2, 1);
>> +	case SVR_P3041:
>> +		return IS_SVR_REV(svr, 1, 0) ||
>> +			IS_SVR_REV(svr, 1, 1) ||
>> +			IS_SVR_REV(svr, 2, 0) || IS_SVR_REV(svr, 2, 1);
>> +	case SVR_P5020:
>> +		return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0);
>> +	case SVR_T4240:
>> +	case SVR_T4160:
>> +		return IS_SVR_REV(svr, 1, 0) || IS_SVR_REV(svr, 2, 0);
>> +	case SVR_T1040:
>> +		return IS_SVR_REV(svr, 1, 0);
>> +	case SVR_P5040:
>> +		return IS_SVR_REV(svr, 1, 0);
>> +	}
> 
> P2040? P5010? P5021?
> 

Please update your patch to support these variants. I understand they don't show
up on the errata document, but they are valid variants if you check SVRs.

York

      reply	other threads:[~2014-02-24 22:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30  5:12 [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261 Suresh Gupta
2014-01-30 19:13 ` Scott Wood
2014-02-24 22:38   ` York Sun [this message]

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=530BC9D1.5090303@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 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.