Clean up checkin. Do not use
[yaffs2.git] / moduleconfig.h
index a8684c3cbfc34daffff9f501a224c9eed30b3a6c..c5b6cf1dbd5e3d3e83200392a52fde3981b1b174 100644 (file)
@@ -1,14 +1,27 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2011 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Martin Fouts <Martin.Fouts@palmsource.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
 #ifndef __YAFFS_CONFIG_H__
 #define __YAFFS_CONFIG_H__
 
-#ifdef KBUILD_MODNAME
+#ifdef YAFFS_OUT_OF_TREE
+
 #define CONFIG_YAFFS_FS
-#define CONFIG_YAFFS_YAFFS1
-#define CONFIG_YAFFS_YAFFS2
-#define CONFIG_YAFFS_DOES_ECC
-#define CONFIG_YAFFS_ECC_WRONG_ORDER
-#define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK
-#define CONFIG_YAFFS_SHORT_NAMES_IN_RAM
-#endif /* KBUILD_MODNAME */
-
-#endif /* __YAFFS_CONFIG_H__ */
+#define CONFIG_YAFFS_DEBUG
+
+#endif
+
+#endif
+