summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-11 08:50:37 -0600
committerHeiko Schocher <[email protected]>2024-08-13 06:12:33 +0200
commit9baa31ab092c90d5c5149e02a2edb7073df7bccf (patch)
tree11aa33c86c01b7985eed195d57dc0d9c667caa83 /include/i2c.h
parent08f0a333309cee9a6cce59fc471783ebd832911d (diff)
rtc: Drop CFG_SYS_RTC_BUS_NUM
This option is very old and the migration deadline was years ago. Drop it so that the I2C system can be simplified. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 622540c8265..45ca3d63e3f 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -655,11 +655,6 @@ void i2c_early_init_f(void);
#undef CFG_SYS_I2C_DIRECT_BUS
#endif
-/* define the I2C bus number for RTC and DTT if not already done */
-#if !defined(CFG_SYS_RTC_BUS_NUM)
-#define CFG_SYS_RTC_BUS_NUM 0
-#endif
-
struct i2c_adapter {
void (*init)(struct i2c_adapter *adap, int speed,
int slaveaddr);