summaryrefslogtreecommitdiffstats
path: root/drivers/bus/fsl-mc/fsl-mc-private.h
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@oss.nxp.com>2020-09-29 10:54:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-02 16:05:01 +0200
commite0c171d5537f45185c2e8f97b9ab2e2fdea56fa9 (patch)
tree3fc3f48c1531580bf988ad177217cae30cf6562a /drivers/bus/fsl-mc/fsl-mc-private.h
parentbus/fsl-mc: add support for 'driver_override' in the mc-bus (diff)
downloadlinux-e0c171d5537f45185c2e8f97b9ab2e2fdea56fa9.tar.xz
linux-e0c171d5537f45185c2e8f97b9ab2e2fdea56fa9.zip
bus/fsl-mc: Set the QMAN/BMAN region flags
The QMAN region is memory mapped, so it should be of type IORESOURCE_MEM. The region flags bits were wrongly used to pass additional information. Use the bus specific bits for this purpose. Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com> Link: https://lore.kernel.org/r/20200929085441.17448-5-diana.craciun@oss.nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus/fsl-mc/fsl-mc-private.h')
-rw-r--r--drivers/bus/fsl-mc/fsl-mc-private.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/bus/fsl-mc/fsl-mc-private.h b/drivers/bus/fsl-mc/fsl-mc-private.h
index 7a46a12eb747..9f200731b274 100644
--- a/drivers/bus/fsl-mc/fsl-mc-private.h
+++ b/drivers/bus/fsl-mc/fsl-mc-private.h
@@ -358,12 +358,6 @@ int dprc_set_obj_irq(struct fsl_mc_io *mc_io,
int obj_id,
u8 irq_index,
struct dprc_irq_cfg *irq_cfg);
-
-/* Region flags */
-/* Cacheable - Indicates that region should be mapped as cacheable */
-#define DPRC_REGION_CACHEABLE 0x00000001
-#define DPRC_REGION_SHAREABLE 0x00000002
-
/**
* enum dprc_region_type - Region type
* @DPRC_REGION_TYPE_MC_PORTAL: MC portal region