Mounting big endian jffs2 images on mtdram on a x86
David Woodhouse
dwmw2 at infradead.org
Tue May 15 03:51:10 EDT 2007
On Tue, 2007-05-15 at 09:45 +0200, Hans-Christian Egtvedt wrote:
> What I would have liked was a possibility to choose which read/write
> operations should be used when using my developing machine, but for
> the kernel I boot my embedded target with I would like an optimized
> jffs2 driver.
>
> Use native endianess by default, but have a possibility to override at
> runtime.
I suppose I wouldn't be _entirely_ averse to a 'JFFS2_BI_ENDIAN' option
which stores a flag in the jffs2_sb_info. It means we need an extra
argument je32_to_cpu() et al., but that isn't particularly evil.
--
dwmw2
More information about the linux-mtd
mailing list