mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-16 23:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Since I2C muxes are seldom needed in SPL, and the code for this increases the size somewhat, add a separate option to enable I2C muxes for SPL. Signed-off-by: Simon Glass <sjg@chromium.org>
27 lines
939 B
Plaintext
27 lines
939 B
Plaintext
config I2C_MUX
|
|
bool "Support I2C multiplexers"
|
|
depends on DM_I2C
|
|
help
|
|
This enables I2C buses to be multiplexed, so that you can select
|
|
one of several buses using some sort of control mechanism. The
|
|
bus select is handled automatically when that bus is accessed,
|
|
using a suitable I2C MUX driver.
|
|
|
|
config SPL_I2C_MUX
|
|
bool "Support I2C multiplexers on SPL"
|
|
depends on I2C_MUX
|
|
help
|
|
This enables I2C buses to be multiplexed, so that you can select
|
|
one of several buses using some sort of control mechanism. The
|
|
bus select is handled automatically when that bus is accessed,
|
|
using a suitable I2C MUX driver.
|
|
|
|
config I2C_ARB_GPIO_CHALLENGE
|
|
bool "GPIO-based I2C arbitration"
|
|
depends on I2C_MUX
|
|
help
|
|
If you say yes to this option, support will be included for an
|
|
I2C multimaster arbitration scheme using GPIOs and a challenge &
|
|
response mechanism where masters have to claim the bus by asserting
|
|
a GPIO.
|