summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2020-03-14 17:02:55 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2020-03-14 19:08:52 -0500
commitdc4ccfe6cc09039a51e449a5349fa47d80622aed (patch)
tree9685c02ff12c34a94e588adb613c5149e152aef7
parent564860d4614b0a80d0f7ed0c3a60eb435b932461 (diff)
downloadast2050-flashrom-dc4ccfe6cc09039a51e449a5349fa47d80622aed.zip
ast2050-flashrom-dc4ccfe6cc09039a51e449a5349fa47d80622aed.tar.gz
Add missing 1200 serial baud rate under Linux
-rw-r--r--serial.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/serial.c b/serial.c
index a64a51d..7192e24 100644
--- a/serial.c
+++ b/serial.c
@@ -64,6 +64,9 @@ struct baudentry {
#define BAUDENTRY(baud) { B##baud, baud },
static const struct baudentry sp_baudtable[] = {
+#ifdef B1200
+ BAUDENTRY(1200)
+#endif
BAUDENTRY(9600) /* unconditional default */
#ifdef B19200
BAUDENTRY(19200)
OpenPOWER on IntegriCloud