
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@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.freesc...
Changes in v2:
- Fix compile error when using DM_USB (thanks Marek)
Applied to u-boot-mpc85xx master, awaiting upstream.
York