mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUS
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
This commit is contained in:
parent
d8a8ea5c47
commit
ced5b90290
1 changed files with 1 additions and 1 deletions
|
|
@ -460,6 +460,7 @@ int i2c_set_bus_num(unsigned int bus)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_I2C_MULTI_BUS */
|
||||
|
||||
/* TODO: add 100/400k switching */
|
||||
unsigned int i2c_get_bus_speed(void)
|
||||
|
|
@ -474,5 +475,4 @@ int i2c_set_bus_speed(unsigned int speed)
|
|||
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_I2C_MULTI_BUS */
|
||||
#endif /* CONFIG_HARD_I2C */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue