From: Simon Glass Date: Sun, 11 Aug 2024 14:50:45 +0000 (-0600) Subject: i2c: Drop i2c_get_bus_num_fdt() and i2c_reset_port_fdt() X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-favicon.png?a=commitdiff_plain;h=a48ecabaea28791669ce30e57a5623e9d809ba55;p=u-boot.git i2c: Drop i2c_get_bus_num_fdt() and i2c_reset_port_fdt() These functions are 11 years old and are only used by one board. Drop them. Signed-off-by: Simon Glass Reviewed-by: Heiko Schocher --- diff --git a/include/i2c.h b/include/i2c.h index 282f3cd700..f468b52cd7 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -933,24 +933,6 @@ int i2c_set_bus_speed(unsigned int); unsigned int i2c_get_bus_speed(void); #endif /* CONFIG_SYS_I2C_LEGACY */ -/** - * Find the I2C bus number by given a FDT I2C node. - * - * @param blob Device tree blbo - * @param node FDT I2C node to find - * Return: the number of I2C bus (zero based), or -1 on error - */ -int i2c_get_bus_num_fdt(int node); - -/** - * Reset the I2C bus represented by the given a FDT I2C node. - * - * @param blob Device tree blbo - * @param node FDT I2C node to find - * Return: 0 if port was reset, -1 if not found - */ -int i2c_reset_port_fdt(const void *blob, int node); - #endif /* !CONFIG_DM_I2C */ #endif /* _I2C_H_ */