summaryrefslogtreecommitdiffstats
path: root/board/netx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-10 20:24:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-07-21 16:41:45 +0200
commit8a1d5e11bbd75f3fb546c772c205118237a3b938 (patch)
tree35b384a9e16090feff3bf0a13ca0f1e900f0eff9 /board/netx
parent6e921fcb3c0f16f32673e401933ca5449dd47632 (diff)
downloadbarebox-8a1d5e11bbd75f3fb546c772c205118237a3b938.tar.gz
barebox-8a1d5e11bbd75f3fb546c772c205118237a3b938.tar.xz
Get rid of DEVICE_TYPE_DRAM usage
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board/netx')
-rw-r--r--board/netx/netx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/netx/netx.c b/board/netx/netx.c
index e697890c35..b03817d9c7 100644
--- a/board/netx/netx.c
+++ b/board/netx/netx.c
@@ -45,8 +45,6 @@ static struct device_d sdram_dev = {
.map_base = 0x80000000,
.size = 64 * 1024 * 1024,
-
- .type = DEVICE_TYPE_DRAM,
};
struct netx_eth_platform_data eth0_data = {
@@ -82,6 +80,7 @@ static int netx_devices_init(void) {
dev_protect(&cfi_dev, 0x40000, 0, 1);
+ armlinux_add_dram(&sdram_dev);
armlinux_set_bootparams((void *)0x80000100);
armlinux_set_architecture(MACH_TYPE_NXDB500);