From 386a42e0dc5ca36b1ce43f2dab4303035e2b2930 Mon Sep 17 00:00:00 2001 From: Nikhil Badola Date: Tue, 20 May 2014 16:54:02 +0530 Subject: drivers/usb : Add affected configs for Erratum A005697 workaround Add following affected SOCs and their variants P1010 rev2.0 B4860 rev1.0 rev2.0 rev2.1 rev2.2 T2080 rev1.0 T2081 rev1.0 Signed-off-by: Nikhil Badola Change-Id: I954877e5b878abf63667b0215aa41a8a3a93eddf Reviewed-on: http://git.am.freescale.net:8181/12743 Tested-by: Review Code-CDREVIEW Reviewed-by: Ramneek Mehresh Reviewed-by: Jose Rivera diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index c2c58cf..8cb82cc 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c @@ -150,9 +150,10 @@ static bool has_erratum_a005697(void) bool flag = false; switch (SVR_SOC_VER(svr)) { - case SVR_P1010: case SVR_P1014: case SVR_T1040: + case SVR_T2080: + case SVR_T2081: if (SVR_REV(svr) == 0x10) flag = true; break; @@ -166,6 +167,7 @@ static bool has_erratum_a005697(void) (SVR_REV(svr) == 0x21)) flag = true; break; + case SVR_P1010: case SVR_T4240: case SVR_T4160: case SVR_P5020: @@ -185,6 +187,12 @@ static bool has_erratum_a005697(void) (SVR_REV(svr) == 0x30)) flag = true; break; + case SVR_B4860: + case SVR_B4420: + if ((SVR_REV(svr) == 0x10) || (SVR_REV(svr) == 0x20) || + (SVR_REV(svr) == 0x21) || (SVR_REV(svr) == 0x22)) + flag = true; + break; } return flag; -- cgit v0.10.2