summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/drivers/block/export.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-03-18 19:56:30 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-03-18 19:56:30 (GMT)
commitb10d9039a678f38ed48f4cf032c6b3bc82848594 (patch)
treefb0f35237b91b33d0694b8213d89cef0e84a80b8 /uClinux-2.4.20-uc1/drivers/block/export.c
parent569556c4a762771f01d767db95ad18966cedd2f7 (diff)
downloadopenipcam-b10d9039a678f38ed48f4cf032c6b3bc82848594.zip
openipcam-b10d9039a678f38ed48f4cf032c6b3bc82848594.tar.gz
openipcam-b10d9039a678f38ed48f4cf032c6b3bc82848594.tar.bz2
Winbond flash support.
Diffstat (limited to 'uClinux-2.4.20-uc1/drivers/block/export.c')
-rwxr-xr-xuClinux-2.4.20-uc1/drivers/block/export.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/uClinux-2.4.20-uc1/drivers/block/export.c b/uClinux-2.4.20-uc1/drivers/block/export.c
new file mode 100755
index 0000000..97fa9fc
--- /dev/null
+++ b/uClinux-2.4.20-uc1/drivers/block/export.c
@@ -0,0 +1,38 @@
+#include <asm/arch/flash.h>
+#include <linux/slab.h>
+
+#ifndef CONFIG_WBFLASH//CONFIG_W90N745FLASH
+
+asmlinkage int sys_FindImage(UINT32 image_num, tfooter ** image_footer)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_DelImage(UINT32 image_num)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_CorruptCheck(tfooter * image_footer)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_ReadWinbondFlash(unsigned long pos, unsigned long length, char * buffer)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_WriteWinbondFlash(unsigned long pos, unsigned long length, char * buffer)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_WinbondFlashBlockSize(unsigned long pos)
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_WinbondFlashTotalSize()
+{
+ return -ENOSYS;
+}
+asmlinkage int sys_WinbondFlashBase()
+{
+ return -ENOSYS;
+}
+#endif