summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yportenv.h
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/yportenv.h
parent0e8cc8bd92257da2e1df88cbc985e166e472ce61 (diff)
downloadu-boot-imx-90ef117b68387d66763291af0117677644166611.zip
u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.gz
u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.bz2
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/yportenv.h')
-rw-r--r--fs/yaffs2/yportenv.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/yaffs2/yportenv.h b/fs/yaffs2/yportenv.h
index 8b80c6d..b316b16 100644
--- a/fs/yaffs2/yportenv.h
+++ b/fs/yaffs2/yportenv.h
@@ -17,11 +17,17 @@
#ifndef __YPORTENV_H__
#define __YPORTENV_H__
+/* XXX U-BOOT XXX */
+#ifndef CONFIG_YAFFS_DIRECT
+#define CONFIG_YAFFS_DIRECT
+#endif
+
#if defined CONFIG_YAFFS_WINCE
#include "ywinceenv.h"
-#elif defined __KERNEL__
+/* XXX U-BOOT XXX */
+#elif 0 /* defined __KERNEL__ */
#include "moduleconfig.h"