
11 Sep
2007
11 Sep
'07
5:23 p.m.
Desc: ROMFS source code fs support
Signed-off-by: Michal Simek monstr@monstr.eu
diff --git a/fs/romfs/romfs.c b/fs/romfs/romfs.c index e69de29..15de3e1 100644 --- a/fs/romfs/romfs.c +++ b/fs/romfs/romfs.c @@ -0,0 +1,240 @@
<snip>
+#include <common.h> +#include <malloc.h> +#include <command.h>
+#if defined(CONFIG_CMD_JFFS2)
... This smells wrong. I think this needs a new macro; 'CONFIG_ROMFS'
NO. Because Romfs is added as CRAMFS. The both FS needs JFFS as background. The whole system around filesystem needs to be rebuild.
But I can add the special macro only for ROMFS.
M