summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/drivers/block/export.c
diff options
context:
space:
mode:
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