summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryinbo.zhu <yinbo.zhu@nxp.com>2017-05-24 09:19:27 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:29 (GMT)
commit08c92293341bda3fa8b19a3061a56ef5def59c9b (patch)
tree3cbd276a1e16541d5262d1e821e42bdbd1553b74
parent92042e8b3622a9bbfce0ebfc90edf6cd14d45708 (diff)
downloadlinux-08c92293341bda3fa8b19a3061a56ef5def59c9b.tar.xz
usb: udc: for fix 1021atwr compiled issue
remove the powerpc configures for fix ls1021atwr compiled issue. Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
-rw-r--r--drivers/usb/gadget/udc/fsl_udc_core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index f6d58da..fe49e75 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -340,12 +340,6 @@ static int dr_controller_setup(struct fsl_udc *udc)
}
#endif
-#if (defined(CONFIG_PPC32) || defined(CONFIG_PPC64)) && \
-!defined(CONFIG_NOT_COHERENT_CACHE)
-/* Turn on cache snooping hardware, since some PowerPC platforms
- * wholly rely on hardware to deal with cache coherent.
- */
-
#if !defined(CONFIG_NOT_COHERENT_CACHE)
/* Turn on cache snooping hardware, since some PowerPC platforms
* wholly rely on hardware to deal with cache coherent. */