diff options
| author | Simon Glass <[email protected]> | 2024-08-11 08:50:46 -0600 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2024-08-13 06:23:05 +0200 |
| commit | 7fca1ae860c1ecab23ae97cc5acfd6cd02b5e74c (patch) | |
| tree | ce421c42a1e7768ff52676335dae17c3e7cb5537 /README | |
| parent | a48ecabaea28791669ce30e57a5623e9d809ba55 (diff) | |
i2c: Remove CFG_SYS_I2C_MAX_HOPS
Now that this is always 0, remove it and the associated dead code.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -773,19 +773,11 @@ The following options need to be configured: CFG_SYS_I2C_DIRECT_BUS define this, if you don't use i2c muxes on your hardware. - if CFG_SYS_I2C_MAX_HOPS is not defined or == 0 you can - omit this define. - - CFG_SYS_I2C_MAX_HOPS - define how many muxes are maximal consecutively connected - on one i2c bus. If you not use i2c muxes, omit this - define. CFG_SYS_I2C_BUSES hold a list of buses you want to use, only used if CFG_SYS_I2C_DIRECT_BUS is not defined, for example - a board with CFG_SYS_I2C_MAX_HOPS = 1 and - CFG_SYS_NUM_I2C_BUSES = 9: + a board with CFG_SYS_NUM_I2C_BUSES = 9: CFG_SYS_I2C_BUSES {{0, {I2C_NULL_HOP}}, \ {0, {{I2C_MUX_PCA9547, 0x70, 1}}}, \ |
