[PATCH] Do not oops when configured flash size is less then chip size
David Woodhouse
dwmw2 at infradead.org
Thu May 11 20:28:18 EDT 2006
On Thu, 2006-05-11 at 16:52 +0100, David Vrabel wrote:
> 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.
An alternative plan is to (warn and) artificially reduce mtd->size so
that it fits in the map. That way, you at least get to use the region of
the flash that you can address.
--
dwmw2
More information about the linux-mtd
mailing list