aboutsummaryrefslogtreecommitdiffstats
path: root/include/i2c.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-08-11 08:50:45 -0600
committerHeiko Schocher <hs@denx.de>2024-08-13 06:17:42 +0200
commita48ecabaea28791669ce30e57a5623e9d809ba55 (patch)
treed3398b537b1fb82aac12d722074d04e48a572d31 /include/i2c.h
parentedccbae4b400fbe28e259ad5ba9313ef75444458 (diff)
downloadu-boot-a48ecabaea28791669ce30e57a5623e9d809ba55.tar.gz
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 <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 282f3cd700f..f468b52cd7b 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_ */