summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorAnand Gadiyar <gadiyar@ti.com>2009-12-09 15:04:41 +0530
committerSascha Hauer <s.hauer@pengutronix.de>2009-12-11 10:33:19 +0100
commitfb7a9c98eb4ec061bf3b8a520a85a963327a4e66 (patch)
treec647b1e2dc0b84d1ae08dc9478973260a159f464 /board
parent8c187839eec1f02b2ffcad2c81399c82c86c5be2 (diff)
downloadbarebox-fb7a9c98eb4ec061bf3b8a520a85a963327a4e66.tar.gz
barebox-fb7a9c98eb4ec061bf3b8a520a85a963327a4e66.tar.xz
OMAP3430-SDP: Compile fixes
Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r--board/omap/board-sdp343x.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/board/omap/board-sdp343x.c b/board/omap/board-sdp343x.c
index caf21087ff..0841df0f2d 100644
--- a/board/omap/board-sdp343x.c
+++ b/board/omap/board-sdp343x.c
@@ -48,6 +48,7 @@
#include <driver.h>
#include <asm/io.h>
#include <ns16550.h>
+#include <asm/armlinux.h>
#include <mach/silicon.h>
#include <mach/sdrc.h>
#include <mach/sys_info.h>
@@ -646,20 +647,6 @@ struct device_d sdram_dev = {
.platform_data = &ram_pdata,
};
-/*------------------------- RAM Devices -------------------------------------*/
-#ifndef CONFIG_CMD_MEMORY
-
-static struct driver_d ram_drv = {
- .name = "ram",
- .probe = dummy_probe,
- .open = dev_open_default,
- .close = dev_close_default,
- .read = mem_read,
- .write = mem_write,
- .lseek = dev_lseek_default,
-};
-#endif
-
/*-----------------------Generic Devices Initialization ---------------------*/
static int sdp3430_devices_init(void)
@@ -668,11 +655,6 @@ static int sdp3430_devices_init(void)
ret = register_device(&sdram_dev);
if (ret)
goto failed;
-#ifndef CONFIG_CMD_MEMORY
- ret = register_driver(&ram_drv);
- if (ret)
- goto failed;
-#endif
ret = sdp3430_flash_init();
if (ret)
goto failed;