From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/8] nomadik: add missing IORESOURCE_MEM flags to resources
Date: Tue, 19 Jul 2011 19:17:25 +0200 [thread overview]
Message-ID: <1311095849-16071-4-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1311095849-16071-1-git-send-email-plagnioj@jcrosoft.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent 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 [PATCH 1/8] at91: " Jean-Christophe PLAGNIOL-VILLARD
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 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-07-19 17:17 ` [PATCH 5/8] nomadik/nand: " 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-4-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