From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261
Date: Thu, 30 Jan 2014 13:13:05 -0600 [thread overview]
Message-ID: <1391109185.6733.20.camel@snotra.buserror.net> (raw)
In-Reply-To: <1391058772-4096-1-git-send-email-suresh.gupta@freescale.com>
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?
-Scott
next prev parent reply other threads:[~2014-01-30 19:13 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 [this message]
2014-02-24 22:38 ` 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=1391109185.6733.20.camel@snotra.buserror.net \
--to=scottwood@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