diff options
Diffstat (limited to 'board/ipe337')
-rw-r--r-- | board/ipe337/ipe337.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/board/ipe337/ipe337.c b/board/ipe337/ipe337.c index ea949b1274..3aa1be8924 100644 --- a/board/ipe337/ipe337.c +++ b/board/ipe337/ipe337.c @@ -12,12 +12,16 @@ static struct device_d cfi_dev = { .size = 32 * 1024 * 1024, }; -static struct device_d sdram_dev = { - .name = "ram", - .id = "ram0", +static struct memory_platform_data ram_pdata = { + .name = "ram0", + .flags = DEVFS_RDWR, +}; +static struct device_d sdram_dev = { + .name = "mem", .map_base = 0x0, .size = 128 * 1024 * 1024, + .platform_data = &ram_pdata, }; static struct device_d smc911x_dev = { |