diff options
Diffstat (limited to 'target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch b/target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch deleted file mode 100644 index 7de34d19ea..0000000000 --- a/target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch +++ /dev/null @@ -1,30 +0,0 @@ -From f7011c18a26d40a07b837a79d0efdad795ad7250 Mon Sep 17 00:00:00 2001 -From: Itai Katz <itai.katz@nxp.com> -Date: Mon, 11 Apr 2016 11:55:48 -0500 -Subject: [PATCH 172/226] staging: fsl-mc: set cacheable flag for added - devices if applicable - -Some DPAA2 devices have mmio regions that should be mapped as -cacheable by drivers. Set IORESOURCE_CACHEABLE in the region's -flags if applicable. - -Signed-off-by: Itai Katz <itai.katz@nxp.com> -[Stuart: update subject and commit message] -Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> -Acked-by: German Rivera <german.rivera@nxp.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> ---- - drivers/staging/fsl-mc/bus/mc-bus.c | 2 ++ - 1 file changed, 2 insertions(+) - ---- a/drivers/staging/fsl-mc/bus/mc-bus.c -+++ b/drivers/staging/fsl-mc/bus/mc-bus.c -@@ -354,6 +354,8 @@ static int fsl_mc_device_get_mmio_region - regions[i].end = regions[i].start + region_desc.size - 1; - regions[i].name = "fsl-mc object MMIO region"; - regions[i].flags = IORESOURCE_IO; -+ if (region_desc.flags & DPRC_REGION_CACHEABLE) -+ regions[i].flags |= IORESOURCE_CACHEABLE; - } - - mc_dev->regions = regions; |