summaryrefslogtreecommitdiffstats
path: root/serial.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-04-01 00:45:51 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-04-01 00:45:51 +0000
commit79587f565f59b2769dfb3a9550bab9de34287f86 (patch)
tree4e6aede830ce05da2f96a86595ed77ea6d5e5d36 /serial.c
parentae3d83765cbb306696b3e0caa92e535e522b32d2 (diff)
downloadast2050-flashrom-79587f565f59b2769dfb3a9550bab9de34287f86.zip
ast2050-flashrom-79587f565f59b2769dfb3a9550bab9de34287f86.tar.gz
Replace native calls in serprog with wrapper calls
Read(), write(), usleep() are replaced. Corresponding to flashrom svn r1663. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 8e27aa0..05f853e 100644
--- a/serial.c
+++ b/serial.c
@@ -354,7 +354,7 @@ int serialport_read(unsigned char *buf, unsigned int readcnt)
return 1;
}
if (!tmp)
- msg_pdbg("Empty read\n");
+ msg_pdbg2("Empty read\n");
readcnt -= tmp;
buf += tmp;
}
OpenPOWER on IntegriCloud