[PATCH 2/4] mtd: cfi_cmdset_0002: make sector erase command variable

Guillaume LECERF glecerf at gmail.com
Mon Oct 25 04:11:21 EDT 2010


2010/10/23 Wolfram Sang <w.sang at pengutronix.de>:
>> +static map_word sector_erase_cmd = CMD(0x30);
>
> Uh? A static one? Why not per device?

Hi Wolfram.
I knew it was ugly, but where would you store this value ?

> I'd also suggest to fold the next patch into this one, so the need for the
> change is more obvious.

Done locally.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org



More information about the linux-mtd mailing list