[PATCH v2 01/18] i2c: Remove board_i2c_init()

Simon Glass sjg at chromium.org
Sun Aug 11 16:50:30 CEST 2024


This function is not used, so drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 include/i2c.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/include/i2c.h b/include/i2c.h
index 4e59009cd93..8d91b24b43b 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -972,14 +972,6 @@ enum {
 	I2C_8, I2C_9, I2C_10,
 };
 
-/**
- * Get FDT values for i2c bus.
- *
- * @param blob  Device tree blbo
- * Return: the number of I2C bus
- */
-void board_i2c_init(const void *blob);
-
 /**
  * Find the I2C bus number by given a FDT I2C node.
  *
-- 
2.34.1



More information about the U-Boot mailing list