mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Introduce serialport_config()
This allows to easily reconfigure a serial port as needed in the Bus Pirate speedup patch. Corresponding to flashrom svn r1717. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
@ -660,6 +660,7 @@ typedef int fdtype;
|
||||
|
||||
void sp_flush_incoming(void);
|
||||
fdtype sp_openserport(char *dev, unsigned int baud);
|
||||
int serialport_config(fdtype fd, unsigned int baud);
|
||||
void __attribute__((noreturn)) sp_die(char *msg);
|
||||
extern fdtype sp_fd;
|
||||
/* expose serialport_shutdown as it's currently used by buspirate */
|
||||
|
Reference in New Issue
Block a user