summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-03 10:12:43 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-04 22:07:14 +0000
commit473d97940f8f42e641930b9c77ab2fca9a1e9877 (patch)
tree02991d95eb5d3a14b93731395f5113240735367e
parentc1604d0bffaccde190ebd795ddc5970cd1c0473d (diff)
device/smbus: Drop SMBUS_HAS_AUX_CHANNELS
The guarded prototypes are no longer implemented in the tree. Change-Id: I5bfedde2aaf691826e7537eceb8578a855800ea2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38153 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/device/Kconfig4
-rw-r--r--src/include/device/smbus.h5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index f7adb07917..0bd9fe1d8b 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -480,10 +480,6 @@ config LINEAR_FRAMEBUFFER_MAX_HEIGHT
endmenu # "Display"
-config SMBUS_HAS_AUX_CHANNELS
- bool
- default n
-
config PCI
bool
default n
diff --git a/src/include/device/smbus.h b/src/include/device/smbus.h
index 863bc80d2a..094ad42629 100644
--- a/src/include/device/smbus.h
+++ b/src/include/device/smbus.h
@@ -53,9 +53,4 @@ static inline int smbus_write_byte(struct device *const dev, u8 addr, u8 val)
int smbus_block_read(struct device *dev, u8 cmd, u8 bytes, u8 *buffer);
int smbus_block_write(struct device *dev, u8 cmd, u8 bytes, const u8 *buffer);
-#if 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 */