diff options
| author | Simon Glass <[email protected]> | 2024-08-11 08:50:37 -0600 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2024-08-13 06:12:33 +0200 |
| commit | 9baa31ab092c90d5c5149e02a2edb7073df7bccf (patch) | |
| tree | 11aa33c86c01b7985eed195d57dc0d9c667caa83 /cmd/date.c | |
| parent | 08f0a333309cee9a6cce59fc471783ebd832911d (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 'cmd/date.c')
| -rw-r--r-- | cmd/date.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) { |
