projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add constants for fast path resume copying
[coreboot.git]
/
util
/
ectool
/
ec.c
diff --git
a/util/ectool/ec.c
b/util/ectool/ec.c
index 233e9ba4599d44239b5f49f2da4ff62a17dbfd04..0f5b891d54efa77fbb7d34c274f8f13f37e0f0f0 100644
(file)
--- a/
util/ectool/ec.c
+++ b/
util/ectool/ec.c
@@
-18,6
+18,7
@@
*/
#include <stdio.h>
+#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/io.h>
@@
-125,7
+126,7
@@
int ec_ext_write(uint16_t addr, uint8_t data)
send_ec_data(addr & 0xff);
send_ec_command(WX_EC);
send_ec_data(addr >> 8);
-
+
return send_ec_data(data);
}