diff options
| author | Adam Ford <[email protected]> | 2017-08-11 06:39:34 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-09-01 20:44:30 -0400 |
| commit | fc760cc6e80d00f669a5f54e1fd4549e725cb22e (patch) | |
| tree | 1df31e428f8deff99d64184ae6f353bc0687a141 /drivers | |
| parent | ac1d8ac8712e9268cc20ec96e692264da2f479f3 (diff) | |
Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_I2C_BUS_MAX
Signed-off-by: Adam Ford <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
[trini: Fix AM43XX drop AM44XX]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/i2c/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index d2d9367bfc4..c296985d9ba 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -227,6 +227,16 @@ config TEGRA186_BPMP_I2C by the BPMP, and can only be accessed by the main CPU via IPC requests to the BPMP. This driver covers the latter case. +config SYS_I2C_BUS_MAX + int "Max I2C busses" + depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA + default 2 if TI816X + default 3 if OMAP34XX || AM33XX || AM43XX || ARCH_KEYSTONE + default 4 if ARCH_SOCFPGA || OMAP44XX || TI814X + default 5 if OMAP54XX + help + Define the maximum number of available I2C buses. + source "drivers/i2c/muxes/Kconfig" endmenu |
