Re: [LinuxBIOS] [PATCH] flashrom: prepare for upcoming massive SPI chip support

2007-12-17 Thread Carl-Daniel Hailfinger
On 17.12.2007 14:54, Ward Vandewege wrote: > On Mon, Dec 17, 2007 at 01:14:35AM +0100, Carl-Daniel Hailfinger wrote: > >> To make it easier to add new SPI chips to flashchips.c, rename functions >> with multiple possible opcodes from linear numbering at the end (_1, _2) >> to include the opcode

Re: [LinuxBIOS] [PATCH] flashrom: prepare for upcoming massive SPI chip support

2007-12-17 Thread Ward Vandewege
On Mon, Dec 17, 2007 at 01:14:35AM +0100, Carl-Daniel Hailfinger wrote: > To make it easier to add new SPI chips to flashchips.c, rename functions > with multiple possible opcodes from linear numbering at the end (_1, _2) > to include the opcode at the end (_60, _c7). That way, you only have to > t

[LinuxBIOS] [PATCH] flashrom: prepare for upcoming massive SPI chip support

2007-12-16 Thread Carl-Daniel Hailfinger
To make it easier to add new SPI chips to flashchips.c, rename functions with multiple possible opcodes from linear numbering at the end (_1, _2) to include the opcode at the end (_60, _c7). That way, you only have to take a short look at the data sheet and choose the right function by appending th