summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/edb93xx
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-18 20:31:38 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-18 20:31:51 +0800
commit88618eb5f12c27be7bb4400eb13768e4c2822ae7 (patch)
tree4d8c3ceffada647a63162229459ba0e2aa0e48fb /arch/arm/boards/edb93xx
parentd5b96bdca994ab00de350fe698a7daa09292ab29 (diff)
downloadbarebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.gz
barebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.xz
mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE
we keep struct memory_platform_data for now on we will switch off the memories resources to struct resource Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/boards/edb93xx')
-rw-r--r--arch/arm/boards/edb93xx/edb93xx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boards/edb93xx/edb93xx.c b/arch/arm/boards/edb93xx/edb93xx.c
index 0f127b5c5e..85fd2c0fe8 100644
--- a/arch/arm/boards/edb93xx/edb93xx.c
+++ b/arch/arm/boards/edb93xx/edb93xx.c
@@ -47,7 +47,7 @@ static struct device_d cfi_dev = {
static struct memory_platform_data ram_dev_pdata0 = {
.name = "ram0",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d sdram0_dev = {
@@ -61,7 +61,7 @@ static struct device_d sdram0_dev = {
#if (CONFIG_EP93XX_SDRAM_NUM_BANKS >= 2)
static struct memory_platform_data ram_dev_pdata1 = {
.name = "ram1",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d sdram1_dev = {
@@ -76,7 +76,7 @@ static struct device_d sdram1_dev = {
#if (CONFIG_EP93XX_SDRAM_NUM_BANKS >= 3)
static struct memory_platform_data ram_dev_pdata2 = {
.name = "ram2",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d sdram2_dev = {
@@ -91,7 +91,7 @@ static struct device_d sdram2_dev = {
#if (CONFIG_EP93XX_SDRAM_NUM_BANKS == 4)
static struct memory_platform_data ram_dev_pdata3 = {
.name = "ram3",
- .flags = DEVFS_RDWR,
+ .flags = IORESOURCE_MEM_WRITEABLE,
};
static struct device_d sdram3_dev = {