[PATCH 2/6] S5PC210: OneNAND: Use the correct DMA address range

Kyungmin Park kmpark at infradead.org
Wed Jul 28 06:11:46 EDT 2010


From: Kyungmin Park <kyungmin.park at samsung.com>

OneNAND DMA SFR requires the 8KiB mapping.

Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
 arch/arm/plat-s5p/dev-onenand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-s5p/dev-onenand.c b/arch/arm/plat-s5p/dev-onenand.c
index 08b3a3f..4d3eddb 100644
--- a/arch/arm/plat-s5p/dev-onenand.c
+++ b/arch/arm/plat-s5p/dev-onenand.c
@@ -30,7 +30,7 @@ static struct resource s5pc110_onenand_resources[] = {
 	},
 	[1] = {
 		.start	= S5PC110_PA_ONENAND_DMA,
-		.end	= S5PC110_PA_ONENAND_DMA + SZ_2K - 1,
+		.end	= S5PC110_PA_ONENAND_DMA + SZ_8K - 1,
 		.flags	= IORESOURCE_MEM,
 	},
 };
-- 
1.5.3.3




More information about the linux-arm-kernel mailing list