summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yportenv.h
diff options
context:
space:
mode:
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 8b80c6d688..b316b16d70 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"