summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorTudor Laurentiu <b10716@freescale.com>2014-11-20 12:09:31 +0200
committerYork Sun <yorksun@freescale.com>2014-12-05 08:06:16 -0800
commit8d3eaa970968d744771948a7188b07cb7ea4ea8a (patch)
treee05775d4f5df15789ca39fc29a9d8820d7917019 /arch/powerpc/include
parent10227aaa24847af4cd40354b90b8b73bfb1e3f2f (diff)
downloadu-boot-imx-8d3eaa970968d744771948a7188b07cb7ea4ea8a.zip
u-boot-imx-8d3eaa970968d744771948a7188b07cb7ea4ea8a.tar.gz
u-boot-imx-8d3eaa970968d744771948a7188b07cb7ea4ea8a.tar.bz2
powerpc/mpc85xx: use correct dma compatible for several SoCs
Newer qoriq socs have an updated dma ip block with a different compatible. Let's make sure we use the proper string so that the dmas get their liodn. In order to have the means to specify the compatible string, the liodn setting macros were updated to receive a new parameter for it. The following SoCs were changed to use the new compatible: T1023/4, T1040, T2080/1, T4240, B4860. Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/fsl_liodn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/fsl_liodn.h b/arch/powerpc/include/asm/fsl_liodn.h
index adfbb66..811f034 100644
--- a/arch/powerpc/include/asm/fsl_liodn.h
+++ b/arch/powerpc/include/asm/fsl_liodn.h
@@ -91,8 +91,8 @@ extern void fdt_fixup_liodn(void *blob);
CONFIG_SYS_MPC85xx_PCIE##pciNum##_OFFSET)
/* reg nodes for DMA start @ 0x300 */
-#define SET_DMA_LIODN(dmaNum, liodn) \
- SET_GUTS_LIODN("fsl,eloplus-dma", liodn, dma##dmaNum##liodnr,\
+#define SET_DMA_LIODN(dmaNum, compat, liodn) \
+ SET_GUTS_LIODN(compat, liodn, dma##dmaNum##liodnr,\
CONFIG_SYS_MPC85xx_DMA##dmaNum##_OFFSET + 0x300)
#define SET_SDHC_LIODN(sdhcNum, liodn) \