[PATCH][03/03] nandsim own geometry
Thomas Gleixner
tglx at linutronix.de
Mon May 23 10:29:56 EDT 2005
On Mon, 2005-05-23 at 16:17 +0200, Kluba Patrik wrote:
> OK, but what if somebody wants to add support for an unsupported chip? He has to
> modify nand_ids.c, too. AFAIK there is no other way to specify a chip's size.
That's intentional. nand_ids holds all _supported_ chips. And its not a
big problem to add a chip ID. If you add a new chip, you have to check,
if the nand driver can handle it.
> It's a litte trouble that all the data is stored statically in a table. It
> should be expandable somehow dinamically, from modules. I see what can I do.
I do not like this idea at all. Thats just another error source. I'm not
interested in "I added the chip-id XYZ, because the chip was not
detected, but it does not work" discussions on the mailing list. We have
already enough dumb questions to answer.
tglx
More information about the linux-mtd
mailing list