diff options
author | Sriram Dash <sriram.dash@nxp.com> | 2016-06-13 09:58:36 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-06-13 15:16:46 +0200 |
commit | ef53b8c4ce2919d6685d2dc0c51a91a180433ff0 (patch) | |
tree | a8e74bad3688faf65dcdee23c5ea28c32abd00df /drivers/usb/common/fsl-errata.c | |
parent | 32fbd46f38ed183ae92aabc0a2abd7847bc3363e (diff) | |
download | u-boot-imx-ef53b8c4ce2919d6685d2dc0c51a91a180433ff0.zip u-boot-imx-ef53b8c4ce2919d6685d2dc0c51a91a180433ff0.tar.gz u-boot-imx-ef53b8c4ce2919d6685d2dc0c51a91a180433ff0.tar.bz2 |
usb: xhci: fsl: Add workaround for USB erratum A008751
This patch is doing the following:
1. Implementing the errata for LS2080.
2. Adding fixup for fdt for LS2080.
Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Diffstat (limited to 'drivers/usb/common/fsl-errata.c')
-rw-r--r-- | drivers/usb/common/fsl-errata.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c index 95918fc..ebe60a8 100644 --- a/drivers/usb/common/fsl-errata.c +++ b/drivers/usb/common/fsl-errata.c @@ -175,4 +175,19 @@ bool has_erratum_a004477(void) return false; } +bool has_erratum_a008751(void) +{ + u32 svr = get_svr(); + u32 soc = SVR_SOC_VER(svr); + + switch (soc) { +#ifdef CONFIG_ARM64 + case SVR_LS2080: + case SVR_LS2085: + return IS_SVR_REV(svr, 1, 0); +#endif + } + return false; +} + #endif |