[U-Boot] [PATCH v2] fsl/usb: Workaround for USB erratum-A005275

York Sun york.sun at nxp.com
Tue Oct 30 19:18:26 UTC 2018


On 10/4/18 12:04 AM, Chris Packham wrote:
> Workaround makes FS as default mode on all affected socs.
> 
> Add support to check erratum-A005275 validity for an soc. This info is
> required to determine whether a given soc is affected by this erratum.
> Add quirk for this erratum "has_fsl_erratum_a005275" . This quirk is used
> to enable workaround for the errata
> 
> Force FS mode as default by:
>         - making EPS as FS
>         - setting PFSC bit to disable HS chirping
> 
> This workaround can be disabled by mentioning "no_erratum_a005275" in
> hwconfig string
> 
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
> This is based on a patch form Freescale's public git repo[1]. I'm not
> sure why it never made it upstream but I have P2041RDB boards that are
> affected as well as custom designs using the same SoC.
> 
> I've cleaned things up a bit to fit with the other errata.
> 
> [1] - https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fppc%2Fsdk%2Fu-boot.git%2Fcommit%2F%3Fh%3Dsdk-v1.4.x%26id%3Df490f1e68af52c8fa68407d23a8ab77886b51106&data=02%7C01%7Cyork.sun%40nxp.com%7C5a8f27ab9a234d619cf108d629c79312%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636742334476613659&sdata=IbKJWdPgBx1SRMtdVwXjyISCtXBkcOoHEybGXwvByNM%3D&reserved=0
> 
> 
> Changes in v2:
> - Fix compile error when using DM_USB (thanks Marek)

Applied to u-boot-mpc85xx master, awaiting upstream.

York


More information about the U-Boot mailing list