[U-Boot-Users] [PATCH6] - microblaze - ROMFS support - files

Michal Simek Monstr at seznam.cz
Tue Sep 11 17:23:23 CEST 2007


> Desc: ROMFS source code fs support
>
> Signed-off-by: Michal Simek <monstr at 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









More information about the U-Boot mailing list