[PATCH] [JFFS2] use MTD_OOB_AUTO
Kyungmin Park
kmpark at infradead.org
Mon Feb 5 02:14:48 EST 2007
Hi,
To David Woodhouse
Before commit this patch, please first merge the OneNAND tree. Since
current mtd tree don't have MTD_OOB_AUTO support in OneNAND.
I think It's right merge sequence.
> May you please try it on NAND and confirm it is OK?
Sorry, I don't have NAND chip.
> +
> +/* For historical reasons we use only 12 bytes for OOB clean
> marker */
> +#define OOB_CM_SIZE 12
> +
> +const static struct jffs2_unknown_node oob_cleanmarker = {
> + .magic = cpu_to_je16(JFFS2_MAGIC_BITMASK),
> + .nodetype = cpu_to_je16(JFFS2_NODETYPE_CLEANMARKER),
> + .totlen = cpu_to_je32(8)
> +};
>
const static => static const
Thank you,
Kyungmin Park
More information about the linux-mtd
mailing list