summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-17 04:36:47 -0500
committerPeter Stuge <peter@stuge.se>2015-10-24 02:01:17 +0200
commitacbdade5cd02c0abed1f1a6c65501893bc6bd679 (patch)
treecb9e0c3df6584bcce04b48fe36070d841d7d664b /src/include
parentcab71b638f6bd9d8c7e6d7955d4527c5236177cb (diff)
southbridge/amd/sb700: Allow use of auxiliary SMBUS controller
Change-Id: I29ece10eeefc2c75a3829c169f1e1aede7194ec2 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/12079 Reviewed-by: Peter Stuge <peter@stuge.se> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/smbus.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/device/smbus.h b/src/include/device/smbus.h
index 073d7e2c99..ccbd694d28 100644
--- a/src/include/device/smbus.h
+++ b/src/include/device/smbus.h
@@ -47,4 +47,9 @@ int smbus_process_call(device_t dev, u8 cmd, u16 data);
int smbus_block_read(device_t dev, u8 cmd, u8 bytes, u8 *buffer);
int smbus_block_write(device_t dev, u8 cmd, u8 bytes, const u8 *buffer);
+#if IS_ENABLED(CONFIG_SMBUS_HAS_AUX_CHANNELS)
+void smbus_switch_to_channel(uint8_t channel_number);
+uint8_t smbus_get_current_channel(void);
+#endif
+
#endif /* DEVICE_SMBUS_H */