[RFC: 2.6 patch] let arm use drivers/Kconfig

Jörn Engel joern at wohnheim.fh-wedel.de
Fri Apr 21 05:32:35 EDT 2006


On Thu, 20 April 2006 21:54:11 +0100, David Woodhouse wrote:
> On Thu, 2006-04-20 at 14:06 +0200, Adrian Bunk wrote:
> > > This dependency is incorrect. It's only one or two chip-specific drivers
> > > which require that the architecture correctly handle alignment traps,
> > > and even then it's only actually apparent when used with JFFS2 which
> > > actually _gives_ it an unaligned buffer occasionally. Everything else
> > > works fine.
> >
> > Can anyone tell me which chip-specific drivers are affected by this 
> > issue so that I can send a patch?
> 
> Disabling those chip drivers isn't necessarily the answer, since they
> can still be used in most cases; just not for JFFS2. Perhaps we should
> just disable JFFS2 if BROKEN_UNALIGNED is set -- or disable JFFS2 on NOR
> flash if it's set. 

mtd->flags would be a good place for that.  Unlike many other things
previously in there, it is a device property that matters.

Jörn

-- 
Data expands to fill the space available for storage.
-- Parkinson's Law




More information about the linux-mtd mailing list