[PATCH,RFC] [MTD] replace MTD_NORFLASH with MTD_GENERIC_TYPE

David Woodhouse dwmw2 at infradead.org
Tue May 30 11:40:20 EDT 2006


On Tue, 2006-05-30 at 17:24 +0200, Jörn Engel wrote:
> Apart from the text substitution, the STMicro ECC-NOR and Intel Sibley
> flashes need special treatment.  This patch introduces a special
> kernel-only flag for them that jffs2 uses to call special code.  It
> should be noted that special code for these devices should not be
> used.  But until jffs2 is clean in that respect, the flag serves as a
> reminder that a cleanup is still required at some point.

Explain. Why shouldn't the existing code be used? What should we do
instead?

∃ only a certain number of combinations of features in _real_ hardware
-- fairly much covered by 'ROM, RAM, NOR, NAND and Sibley/ECC-NOR'.
Enumerating those, and coping specifically with those, makes as much
sense as handling arbitrary combinations of feature flags.

-- 
dwmw2





More information about the linux-mtd mailing list