mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/8] at91: add missing IORESOURCE_MEM flags to resources
Date: Tue, 19 Jul 2011 19:17:22 +0200	[thread overview]
Message-ID: <1311095849-16071-1-git-send-email-plagnioj@jcrosoft.com> (raw)

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/boards/at91rm9200ek/init.c      |    1 +
 arch/arm/boards/at91sam9261ek/init.c     |    2 ++
 arch/arm/boards/at91sam9263ek/init.c     |    1 +
 arch/arm/boards/mmccpu/init.c            |    1 +
 arch/arm/boards/pm9261/init.c            |    2 ++
 arch/arm/boards/pm9263/init.c            |    1 +
 arch/arm/mach-at91/at91rm9200_devices.c  |    7 +++++++
 arch/arm/mach-at91/at91sam9260_devices.c |   10 ++++++++++
 arch/arm/mach-at91/at91sam9261_devices.c |    6 ++++++
 arch/arm/mach-at91/at91sam9263_devices.c |    8 ++++++++
 arch/arm/mach-at91/at91sam9g45_devices.c |    9 +++++++++
 11 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boards/at91rm9200ek/init.c b/arch/arm/boards/at91rm9200ek/init.c
index b21dc5f..2b16980 100644
--- a/arch/arm/boards/at91rm9200ek/init.c
+++ b/arch/arm/boards/at91rm9200ek/init.c
@@ -37,6 +37,7 @@
 static struct resource cfi_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_0,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/boards/at91sam9261ek/init.c b/arch/arm/boards/at91sam9261ek/init.c
index 4e52ab8..4009523 100644
--- a/arch/arm/boards/at91sam9261ek/init.c
+++ b/arch/arm/boards/at91sam9261ek/init.c
@@ -97,10 +97,12 @@ static struct resource dm9000_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_2,
 		.size	= 4,
+		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
 		.start	= AT91_CHIPSELECT_2 + 4,
 		.size	= 4,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/boards/at91sam9263ek/init.c b/arch/arm/boards/at91sam9263ek/init.c
index fe69305..af8a1e1 100644
--- a/arch/arm/boards/at91sam9263ek/init.c
+++ b/arch/arm/boards/at91sam9263ek/init.c
@@ -91,6 +91,7 @@ static struct resource cfi_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_0,
 		.size	= 8 * 1024 * 1024,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/boards/mmccpu/init.c b/arch/arm/boards/mmccpu/init.c
index b79062e..8cc5f2c 100644
--- a/arch/arm/boards/mmccpu/init.c
+++ b/arch/arm/boards/mmccpu/init.c
@@ -40,6 +40,7 @@
 static struct resource cfi_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_0,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/boards/pm9261/init.c b/arch/arm/boards/pm9261/init.c
index 4811c73..ad4fa9d 100644
--- a/arch/arm/boards/pm9261/init.c
+++ b/arch/arm/boards/pm9261/init.c
@@ -97,10 +97,12 @@ static struct resource dm9000_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_2,
 		.size	= 4,
+		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
 		.start	= AT91_CHIPSELECT_2 + 4,
 		.size	= 4,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/boards/pm9263/init.c b/arch/arm/boards/pm9263/init.c
index 6544837..e21e8e3 100644
--- a/arch/arm/boards/pm9263/init.c
+++ b/arch/arm/boards/pm9263/init.c
@@ -90,6 +90,7 @@ static struct resource cfi_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_0,
 		.size	= 4 * 1024 * 1024,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c
index d0502ca..16c94a6 100644
--- a/arch/arm/mach-at91/at91rm9200_devices.c
+++ b/arch/arm/mach-at91/at91rm9200_devices.c
@@ -38,6 +38,7 @@ static struct resource eth_resources[] = {
 	[0] = {
 		.start	= AT91_VA_BASE_EMAC,
 		.size	= 0x1000,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -92,6 +93,7 @@ static struct resource nand_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_3,
 		.size	= 0x10,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -151,6 +153,7 @@ static struct resource dbgu_resources[] = {
 	[0] = {
 		.start	= AT91_BASE_SYS + AT91_DBGU,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -171,6 +174,7 @@ static struct resource uart0_resources[] = {
 	[0] = {
 		.start	= AT91RM9200_BASE_US0,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -202,6 +206,7 @@ static struct resource uart1_resources[] = {
 	[0] = {
 		.start	= AT91RM9200_BASE_US1,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -235,6 +240,7 @@ static struct resource uart2_resources[] = {
 	[0] = {
 		.start	= AT91RM9200_BASE_US2,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -260,6 +266,7 @@ static struct resource uart3_resources[] = {
 	[0] = {
 		.start	= AT91RM9200_BASE_US3,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index 988dd92..3808c66 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -35,6 +35,7 @@ static struct resource eth_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_EMAC,
 		.size	= 0x1000,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -85,6 +86,7 @@ static struct resource nand_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_3,
 		.size	= 0x10,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -128,6 +130,7 @@ static struct resource dbgu_resources[] = {
 	[0] = {
 		.start	= AT91_BASE_SYS + AT91_DBGU,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -148,6 +151,7 @@ static struct resource uart0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US0,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -181,6 +185,7 @@ static struct resource uart1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US1,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -206,6 +211,7 @@ static struct resource uart2_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US2,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -231,6 +237,7 @@ static struct resource uart3_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US3,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -256,6 +263,7 @@ static struct resource uart4_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US4,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -276,6 +284,7 @@ static struct resource uart5_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_US5,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -340,6 +349,7 @@ static struct resource mci_resources[] = {
 	[0] = {
 		.start	= AT91SAM9260_BASE_MCI,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
index e00c3e0..f2a0664 100644
--- a/arch/arm/mach-at91/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/at91sam9261_devices.c
@@ -35,6 +35,7 @@ static struct resource nand_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_3,
 		.size	= 0x10,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -81,6 +82,7 @@ static struct resource dbgu_resources[] = {
 	[0] = {
 		.start	= (AT91_BASE_SYS + AT91_DBGU),
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -101,6 +103,7 @@ static struct resource uart0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9261_BASE_US0,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -126,6 +129,7 @@ static struct resource uart1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9261_BASE_US1,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -151,6 +155,7 @@ static struct resource uart2_resources[] = {
 	[0] = {
 		.start	= AT91SAM9261_BASE_US2,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -205,6 +210,7 @@ static struct resource mci_resources[] = {
 	[0] = {
 		.start	= AT91SAM9261_BASE_MCI,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c
index 752f789..c951800 100644
--- a/arch/arm/mach-at91/at91sam9263_devices.c
+++ b/arch/arm/mach-at91/at91sam9263_devices.c
@@ -35,6 +35,7 @@ static struct resource eth_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_EMAC,
 		.size	= 0x1000,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -84,6 +85,7 @@ static struct resource nand_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_3,
 		.size	= 0x10,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -127,6 +129,7 @@ static struct resource dbgu_resources[] = {
 	[0] = {
 		.start	= (AT91_BASE_SYS + AT91_DBGU),
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -147,6 +150,7 @@ static struct resource uart0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_US0,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -172,6 +176,7 @@ static struct resource uart1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_US1,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -197,6 +202,7 @@ static struct resource uart2_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_US2,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -252,6 +258,7 @@ static struct resource mci0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_MCI0,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -266,6 +273,7 @@ static struct resource mci1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9263_BASE_MCI1,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c
index 8a02c8d..4f5279f 100644
--- a/arch/arm/mach-at91/at91sam9g45_devices.c
+++ b/arch/arm/mach-at91/at91sam9g45_devices.c
@@ -35,6 +35,7 @@ static struct resource eth_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_EMAC,
 		.size	= 0x1000,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -85,6 +86,7 @@ static struct resource nand_resources[] = {
 	[0] = {
 		.start	= AT91_CHIPSELECT_3,
 		.size	= 0x10,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -131,6 +133,7 @@ static struct resource dbgu_resources[] = {
 	[0] = {
 		.start	= (AT91_BASE_SYS + AT91_DBGU),
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -151,6 +154,7 @@ static struct resource uart0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_US0,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -176,6 +180,7 @@ static struct resource uart1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_US1,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -201,6 +206,7 @@ static struct resource uart2_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_US2,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -226,6 +232,7 @@ static struct resource uart3_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_US3,
 		.size	= 4096,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -286,6 +293,7 @@ static struct resource mci0_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_MCI0,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
@@ -300,6 +308,7 @@ static struct resource mci1_resources[] = {
 	[0] = {
 		.start	= AT91SAM9G45_BASE_MCI1,
 		.size	= SZ_16K,
+		.flags	= IORESOURCE_MEM,
 	},
 };
 
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2011-07-19 17:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 17:17 Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-07-19 17:17 ` [PATCH 2/8] atmel/drivers: switch to dev_request_mem_region Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 3/8] dm9000: " Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 4/8] nomadik: add missing IORESOURCE_MEM flags to resources Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 5/8] nomadik/nand: switch to dev_request_mem_region Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 6/8] amba-pl011: fix missing switch to "struct resource" Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 7/8] amba-pl011: switch to dev_request_mem_region Jean-Christophe PLAGNIOL-VILLARD
2011-07-19 17:17 ` [PATCH 8/8] armlinux: mem tag switch to "struct resource" Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311095849-16071-1-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox