On Mon, Jun 01, 2009 at 03:48:40AM +0200, Carl-Daniel Hailfinger wrote:
New patch. Changes compared to version 2:
- If a chip is listed as NONSPI, print "Non-SPI".
- If a chip is listed as UNKNOWN, print "Unknown".
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Acked-by: Uwe Hermann uwe@hermann-uwe.de
Looks good, and I tested a successful read/write/erase of an LPC chip on actual hardware.
Index: flashrom-chiptype_avoid_bus_mismatch/flashrom.c
--- flashrom-chiptype_avoid_bus_mismatch/flashrom.c (Revision 559) +++ flashrom-chiptype_avoid_bus_mismatch/flashrom.c (Arbeitskopie) @@ -174,10 +174,56 @@ return 0; }
+char *strcat_realloc(char *dest, char *src)
src can be 'const char *src' I think.
Uwe.