summaryrefslogtreecommitdiffstats
path: root/fs/yaffs2/yaffs_mtdif2.c
diff options
context:
space:
mode:
authorWilliam Juul <william.juul@datarespons.no>2007-11-15 12:23:57 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:19 -0500
commit90ef117b68387d66763291af0117677644166611 (patch)
tree829e4954f6d1b0976734c0d2ef2b2bbd173d7572 /fs/yaffs2/yaffs_mtdif2.c
parent0e8cc8bd92257da2e1df88cbc985e166e472ce61 (diff)
downloadu-boot-90ef117b68387d66763291af0117677644166611.tar.gz
u-boot-90ef117b68387d66763291af0117677644166611.tar.xz
u-boot-90ef117b68387d66763291af0117677644166611.zip
Incorporate yaffs2 into U-boot
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'fs/yaffs2/yaffs_mtdif2.c')
-rw-r--r--fs/yaffs2/yaffs_mtdif2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffs_mtdif2.c b/fs/yaffs2/yaffs_mtdif2.c
index 5a18725730..cd2a2a15c7 100644
--- a/fs/yaffs2/yaffs_mtdif2.c
+++ b/fs/yaffs2/yaffs_mtdif2.c
@@ -13,6 +13,10 @@
/* mtd interface for YAFFS2 */
+/* XXX U-BOOT XXX */
+#include <common.h>
+#include "asm/errno.h"
+
const char *yaffs_mtdif2_c_version =
"$Id: yaffs_mtdif2.c,v 1.17 2007/02/14 01:09:06 wookey Exp $";
@@ -229,4 +233,3 @@ int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
else
return YAFFS_FAIL;
}
-