Patch attached. Is strcasecmp() not kosher enough?
//Peter
Peter Stuge wrote:
Patch attached. Is strcasecmp() not kosher enough?
//Peter
flashrom: Case insensitive matching of vendor:board strings in coreboot table
Needed at least for GIGABYTE:m57sli in coreboot to match gigabyte:m57sli in flashrom.
Signed-off-by: Peter Stuge peter@stuge.se
Acked-by: Stefan Reinauer stepan@coresystems.de
Though: Does that only match the coreboot table, or also the manually specified strings?
Asking because of your new message:
printf("\nUnknown vendor:board in coreboot table: %s:%s\n\n", vendor, part);
On Wed, Jul 02, 2008 at 02:04:30AM +0200, Stefan Reinauer wrote:
Acked-by: Stefan Reinauer stepan@coresystems.de
Thanks! r3402
Though: Does that only match the coreboot table, or also the manually specified strings?
-m strings too, if -m is specified, they are used in this comparison instead of anything that was read from the coreboot table.
Asking because of your new message:
printf("\nUnknown vendor:board in coreboot table: %s:%s\n\n", vendor, part);
Thanks. Fixed in r3403.
//Peter