Commit ee6d36a5405305f3bbdb0457948c219731b3d9cc introduced requirement for 
default functions be registered. Without this accessing /dev/ram0 will not work 
on SDP3430 in the default config.

Signed-off-by: Nishanth Menon<[EMAIL PROTECTED]>

---
 board/omap/board-sdp343x.c |    3 +++
 1 file changed, 3 insertions(+)

Index: u-boot-v2.git/board/omap/board-sdp343x.c
===================================================================
--- u-boot-v2.git.orig/board/omap/board-sdp343x.c       2008-06-10 
13:03:29.000000000 -0500
+++ u-boot-v2.git/board/omap/board-sdp343x.c    2008-06-10 13:03:56.000000000 
-0500
@@ -656,8 +656,11 @@
 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,
        .type = DEVICE_TYPE_DRAM,
 };
 #endif

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to