From 9baa31ab092c90d5c5149e02a2edb7073df7bccf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 11 Aug 2024 08:50:37 -0600 Subject: 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 Reviewed-by: Heiko Schocher --- cmd/date.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmd') diff --git a/cmd/date.c b/cmd/date.c index 755adec1e71..bdb3e199b43 100644 --- a/cmd/date.c +++ b/cmd/date.c @@ -42,12 +42,6 @@ static int do_date(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_FAILURE; } } -#elif CONFIG_IS_ENABLED(SYS_I2C_LEGACY) - old_bus = i2c_get_bus_num(); - i2c_set_bus_num(CFG_SYS_RTC_BUS_NUM); -#else - old_bus = I2C_GET_BUS(); - I2C_SET_BUS(CFG_SYS_RTC_BUS_NUM); #endif switch (argc) { -- cgit v1.2.3