summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-06 19:00:31 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-09 21:31:31 +0000
commit73451fdea266e24a3ce99e1bf41f49735dc62d28 (patch)
tree96b29d28afcfc25e7cedf4e410a56df049248ce4 /src/include/device
parent7cdcc38f292d7a8ffd285d17c848e60e41eec759 (diff)
downloadcoreboot-73451fdea266e24a3ce99e1bf41f49735dc62d28.tar.xz
sb/intel/common: Add smbus_set_slave_addr()
Change-Id: I7dddb61fab00e0f4f67d4eebee0cfe8dcd99f4ab Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38230 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/smbus_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/smbus_host.h b/src/include/device/smbus_host.h
index 071eef0ff2..cb31d02d33 100644
--- a/src/include/device/smbus_host.h
+++ b/src/include/device/smbus_host.h
@@ -35,6 +35,6 @@ int do_i2c_block_write(uintptr_t base, u8 device, size_t bytes, u8 *buf);
/* Upstream API */
void smbus_host_reset(uintptr_t base);
-
+void smbus_set_slave_addr(uintptr_t base, u8 slave_address);
#endif