[PATCH] Do not oops when configured flash size is less then chip size

Peter Hanson peterh at google.com
Fri May 12 14:18:10 EDT 2006


On 5/11/06, David Vrabel <dvrabel at arcom.com> wrote:
> Leon Woestenberg wrote:
[snip]
> This sounds like a valid, if unlikely, board configuration.  e.g., a
> board with chips fitted that are larger than the chip-select memory window.
[/snip]

Not so very unlikely.  A product update may call for lashing upgraded
flash chips into a clunky old design.  MPC82xx chips are still
shipping, and their legacy ROM chip selects are smaller than many
modern flash chips.

Mind you, I'm not saying MTD _should_ support such nonsense.  But one
definition of `driver' is `n. Software written to paper over the flaws
of your brain dead hardware.'




More information about the linux-mtd mailing list