diff options
author | Naresh G Solanki <naresh.solanki@intel.com> | 2016-11-21 16:55:36 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-23 22:52:58 +0100 |
commit | cd7068703e48e0069ede21fcb8cb19e9713612c8 (patch) | |
tree | 6f7798d18e7035af86fac98a4ef3097d2726c9d6 /src/include | |
parent | 6fca307ced326e311a3a6d81b7a4fed6429b4865 (diff) | |
download | coreboot-cd7068703e48e0069ede21fcb8cb19e9713612c8.tar.xz |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/early_smbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/early_smbus.h b/src/include/device/early_smbus.h index 8080cbf7b1..e3fe4fe982 100644 --- a/src/include/device/early_smbus.h +++ b/src/include/device/early_smbus.h @@ -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_wait_until_ready(u32 smbus_dev); 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); #endif /* DEVICE_EARLY_SMBUS_H */ |