1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

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>
This commit is contained in:
Stefan Tauner
2013-04-01 00:45:51 +00:00
parent ae3d83765c
commit 79587f565f
2 changed files with 16 additions and 29 deletions

View File

@ -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;
}