summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2017-09-18 22:39:41 +0200
committerLi Yang <leoyang.li@nxp.com>2017-09-22 20:33:07 +0200
commit6111d198362b9b3ffc1c253c74119cca9afd3968 (patch)
treec3123fffcb0598796e17a4d77bea2411f09cef73
parentsoc/fsl/qbman: Drop set/clear_bits usage (diff)
downloadlinux-6111d198362b9b3ffc1c253c74119cca9afd3968.tar.xz
linux-6111d198362b9b3ffc1c253c74119cca9afd3968.zip
soc/fsl/qbman: Drop L1_CACHE_BYTES compile time check
Not relevant and arch dependent. Overkill for PPC. Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
-rw-r--r--drivers/soc/fsl/qbman/dpaa_sys.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/soc/fsl/qbman/dpaa_sys.h b/drivers/soc/fsl/qbman/dpaa_sys.h
index 676af829cea0..4b1a4674d5c4 100644
--- a/drivers/soc/fsl/qbman/dpaa_sys.h
+++ b/drivers/soc/fsl/qbman/dpaa_sys.h
@@ -49,10 +49,6 @@
#define DPAA_PORTAL_CE 0
#define DPAA_PORTAL_CI 1
-#if (L1_CACHE_BYTES != 32) && (L1_CACHE_BYTES != 64)
-#error "Unsupported Cacheline Size"
-#endif
-
static inline void dpaa_flush(void *p)
{
#ifdef CONFIG_PPC