include/device/early_smbus.h: Declare smbus write function
Add declaration for smbus write. Early smbus access also needs smbus write function specially to read spd for DDR4 wherein page has to be switched by smbus write. Change-Id: I246cbdf0b52923f01dd036f63df17bf9af043c9f Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com> Reviewed-on: https://review.coreboot.org/17557 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
6fca307ced
commit
cd7068703e
|
@ -64,7 +64,7 @@ int smbus_print_error(u32 smbus_dev, u8 host_status, int loops);
|
||||||
int smbus_is_busy(u32 smbus_dev);
|
int smbus_is_busy(u32 smbus_dev);
|
||||||
int smbus_wait_until_ready(u32 smbus_dev);
|
int smbus_wait_until_ready(u32 smbus_dev);
|
||||||
u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset);
|
u8 smbus_read_byte(u32 smbus_dev, u8 addr, u8 offset);
|
||||||
|
u8 smbus_write_byte(u32 smbus_dev, u8 addr, u8 offset, u8 value);
|
||||||
void smbus_delay(void);
|
void smbus_delay(void);
|
||||||
|
|
||||||
#endif /* DEVICE_EARLY_SMBUS_H */
|
#endif /* DEVICE_EARLY_SMBUS_H */
|
||||||
|
|
Loading…
Reference in New Issue