]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 20 Nov 2012 11:39:28 +0000 (20:39 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 20 Nov 2012 11:39:39 +0000 (20:39 +0900)
commita448ecbeff178c37f09c1ebb6b25411a44a54306
tree3c454f0de123a3e31744fe28f9316b69ee0dfe61
parent86df70fce2e3175bd28874c3918f08d04ad5c3bd
ARM: EXYNOS: PL330 MDMA1 fix for revision 0 of Exynos4210 SOC

Commit 9fefc00 ("ARM: EXYNOS: fix address for EXYNOS4 MDMA1")
changed EXYNOS specific setup of PL330 DMA engine to use 'non-secure'
mdma1 address instead of 'secure' one (from 0x12840000 to 0x12850000)
to fix issue with some Exynos4212 SOCs.  Unfortunately it brakes
PL330 setup for revision 0 of Exynos4210 SOC (mdma1 device cannot
be found at 'non-secure' address):

[    0.566245] dma-pl330 dma-pl330.2: PERIPH_ID 0x0, PCELL_ID 0x0 !
[    0.566278] dma-pl330: probe of dma-pl330.2 failed with error -22

Fix it by using 'secure' mdma1 address on Exynos4210 revision 0 SOC.

Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/dma.c
arch/arm/mach-exynos/include/mach/map.h