//yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2)
-const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.1 2004-12-17 04:39:04 charles Exp $";
+const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.3 2005-07-29 19:57:38 luc Exp $";
#ifndef __KERNEL__
#define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
#endif
#ifdef CONFIG_YAFFS_RAM_ENABLED
-#define EM_SIZE_IN_MEG 2
+#define EM_SIZE_IN_MEG (32)
#define PAGE_DATA_SIZE (2048)
#define PAGE_SPARE_SIZE (64)
#define PAGES_PER_BLOCK (64)