[PATCH][03/03] nandsim own geometry

Artem B. Bityuckiy dedekind at yandex.ru
Mon May 23 09:17:04 EDT 2005


Artem B. Bityuckiy wrote:
> is it possible to avoid such a changes in nand_ids.c ?
> AFAICS, your patch assumes that one should recompile nand_ids when
> nandsim configuration has been changed. It shouldn't be so I think.
> 
> 
> I'd better do:
> 1. initialize all the needed fields in 'struct mtd_info' and 'struct
> nand_chip' in case of a custom chip in _nandsim_.
> 2. Introduce some special option (say, NAND_SKIP_READ_ID for this-
> 
>>options) which tells nand_scan not to read NAND chip's ID.
> 

Or better try to make it such a way, that it doesn't affect nand_base or 
nand_ids, even if it will be not very pretty. Otherwise tglx1 may veto this.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list