summaryrefslogtreecommitdiff
path: root/patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch')
-rw-r--r--patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch b/patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch
new file mode 100644
index 00000000000..1c2f961f20a
--- /dev/null
+++ b/patches.tizen/0710-dma-pl330-use-dma_addr_t-for-describing-bus-addresse.patch
@@ -0,0 +1,39 @@
+From 09d10ecd146febffac0b77d268e23732ce5bd888 Mon Sep 17 00:00:00 2001
+From: Will Deacon <will.deacon@arm.com>
+Date: Mon, 10 Jun 2013 19:34:38 +0100
+Subject: [PATCH 0710/1302] dma: pl330: use dma_addr_t for describing bus
+ addresses
+
+The microcode bus address (pl330_dmac.mcode_bus) is currently a u32,
+which fails to compile when building on a system with 64-bit bus
+addresses.
+
+This patch uses dma_addr_t to represent the address instead.
+
+Cc: Jassi Brar <jaswinder.singh@linaro.org>
+Cc: Vinod Koul <vinod.koul@intel.com>
+Signed-off-by: Will Deacon <will.deacon@arm.com>
+Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
+Acked-by: Grant Likely <grant.likely@linaro.org>
+Signed-off-by: Vinod Koul <vinod.koul@intel.com>
+Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
+---
+ drivers/dma/pl330.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
+index 8455329..fa645d8 100644
+--- a/drivers/dma/pl330.c
++++ b/drivers/dma/pl330.c
+@@ -501,7 +501,7 @@ struct pl330_dmac {
+ /* Maximum possible events/irqs */
+ int events[32];
+ /* BUS address of MicroCode buffer */
+- u32 mcode_bus;
++ dma_addr_t mcode_bus;
+ /* CPU address of MicroCode buffer */
+ void *mcode_cpu;
+ /* List of all Channel threads */
+--
+1.8.3.2
+