mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
committed by
Heiko Schocher
parent
08f0a33330
commit
9baa31ab09
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user