[U-Boot-Users] [PATCH] fix combination of CONFIG_I2C_CMD_TREE and CONFIG_SOFT_I2C

25 Feb
2007
25 Feb
'07
2:32 a.m.
If CONFIG_I2C_CMD_TREE and CONFIG_SOFT_I2C are both enabled (and CFG_CMD_I2C) compilation will fail with not being able to find i2c_get_bus_speed().
This patch changes the code to return CFG_I2C_SPEED on an 'i2c speed' command and an error message on setting the speed.
Signed-off-by: Andrew Dyer amdyer@gmail.com
--
Hardware, n.:
The parts of a computer system that can be kicked.
6647
Age (days ago)
6647
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Dyer