From 473d97940f8f42e641930b9c77ab2fca9a1e9877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 3 Jan 2020 10:12:43 +0200 Subject: [PATCH] device/smbus: Drop SMBUS_HAS_AUX_CHANNELS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The guarded prototypes are no longer implemented in the tree. Change-Id: I5bfedde2aaf691826e7537eceb8578a855800ea2 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/38153 Tested-by: build bot (Jenkins) Reviewed-by: Frans Hendriks Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/device/Kconfig | 4 ---- src/include/device/smbus.h | 5 ----- 2 files changed, 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 */