On Sat, Nov 21, 2009 at 01:29:11PM +0100, Carl-Daniel Hailfinger wrote: > Move serial handling from serprog.c to serial.c. > This is the first step in enabling platform independent serprog and it > also allows other drivers to use serial port functionality without > requiring serprog. > > Pure code move, no code changed. > > Signed-off-by: Carl-Daniel Hailfinger <[email protected]>
Acked-by: Uwe Hermann <[email protected]> Build-tested, worked ok. > +void __attribute__((noreturn)) sp_die(char *msg) > +{ > + perror(msg); > + exit(1); EXIT_FAILURE maybe, though I'm not sure we have consistent error codes everywhere, yet. Uwe. -- http://www.hermann-uwe.de | http://www.randomprojects.org http://www.crazy-hacks.org | http://www.unmaintained-free-software.org _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
