Convert CONFIG_I2C_SET_DEFAULT_BUS_NUM et al to Kconfig

This converts the following to Kconfig:
   CONFIG_I2C_SET_DEFAULT_BUS_NUM
   CONFIG_I2C_DEFAULT_BUS_NUMBER

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2021-08-18 23:12:37 -04:00
parent 81bc599dfa
commit fc8d3b9a2f
179 changed files with 143 additions and 89 deletions

View File

@@ -55,11 +55,6 @@
CONFIG_SYS_SCSI_MAX_LUN)
/* I2C */
#if !CONFIG_IS_ENABLED(DM_I2C)
#else
#define CONFIG_I2C_SET_DEFAULT_BUS_NUM
#define CONFIG_I2C_DEFAULT_BUS_NUMBER 0
#endif
/* GPIO */
#ifdef CONFIG_DM_GPIO