coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
smbus_def.h
Go to the documentation of this file.
1 #ifndef DEVICE_SMBUS_DEF_H
2 #define DEVICE_SMBUS_DEF_H
3 
4 #include <types.h>
5 
6 /* Error results are negative success is >= 0 */
7 #define SMBUS_ERROR CB_ERR
8 #define SMBUS_WAIT_UNTIL_READY_TIMEOUT CB_I2C_BUSY
9 #define SMBUS_WAIT_UNTIL_DONE_TIMEOUT CB_I2C_TIMEOUT
10 #define SMBUS_WAIT_UNTIL_ACTIVE_TIMEOUT CB_I2C_NO_DEVICE
11 
12 #endif /* DEVICE_SMBUS_DEF_H */