[PATCH 4/8] nomadik: add missing IORESOURCE_MEM flags to resources

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Jul 19 13:17:25 EDT 2011


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/boards/nhk8815/setup.c |    4 ++++
 arch/arm/mach-nomadik/8815.c    |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/nhk8815/setup.c b/arch/arm/boards/nhk8815/setup.c
index 3b67e44..b7fa50a 100644
--- a/arch/arm/boards/nhk8815/setup.c
+++ b/arch/arm/boards/nhk8815/setup.c
@@ -37,6 +37,7 @@ static struct resource nhk8815_network_resources[] = {
 	[0] = {
 		.start	= 0x34000300,
 		.size	= 16,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -70,12 +71,15 @@ static struct resource nhk8815_nand_resources[] = {
 	{
 		.start	= NAND_IO_ADDR,
 		.size	= 0xfff,
+		.flags	= IORESOURCE_MEM,
 	}, {
 		.start	= NAND_IO_CMD,
 		.size	= 0xfff,
+		.flags	= IORESOURCE_MEM,
 	}, {
 		.start	= NAND_IO_DATA,
 		.size	= 0xfff,
+		.flags	= IORESOURCE_MEM,
 	}
 };
 
diff --git a/arch/arm/mach-nomadik/8815.c b/arch/arm/mach-nomadik/8815.c
index e5adafd..9df32a3 100644
--- a/arch/arm/mach-nomadik/8815.c
+++ b/arch/arm/mach-nomadik/8815.c
@@ -44,6 +44,7 @@ static struct resource uart0_serial_resources[] = {
 	[0] = {
 		.start	= NOMADIK_UART0_BASE,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -58,6 +59,7 @@ static struct resource uart1_serial_resources[] = {
 	[0] = {
 		.start	= NOMADIK_UART1_BASE,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
-- 
1.7.5.4




More information about the barebox mailing list