Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ ec_write
Function
ec_write
util/ectool/ec.c:136–142 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
134
}
135
136
int ec_write(uint8_t addr, uint8_t data)
137
{
138
send_ec_command(WR_EC);
139
send_ec_data(addr);
140
141
return send_ec_data(data);
142
}
143
144
uint8_t ec_idx_read(uint16_t addr)
145
{
Callers
1
main
Function · 0.70
Calls
2
send_ec_command
Function · 0.70
send_ec_data
Function · 0.70
Tested by
no test coverage detected