[PATCH][02/03] nandsim default values in Kconfig

Jörn Engel joern at wohnheim.fh-wedel.de
Tue May 24 10:58:04 EDT 2005


On Tue, 24 May 2005 16:25:54 +0200, Kluba Patrik wrote:
> 
> >I'd prefer to have them available as module parameters, so I can change
> >the settings without recompiling on module load.
> 
> What if I rewrite nandsim's module parameters for easier setting of the 
> values, like erase block size, page size, OOB size, etc. instead of to have 
> the developer enter ID bytes, and change a table entry based on the given 
> values? In this case, which entry should be changed?

How about you #include "nandsim_config.h" ?

Then you can edit nandsim_config.h with your favorite editor and have
all the options visible in a couple of lines.

Jörn

-- 
The wise man seeks everything in himself; the ignorant man tries to get
everything from somebody else.
-- unknown




More information about the linux-mtd mailing list