Skip to content
Snippets Groups Projects
Commit 655b34a7 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

i2c: Create common default i2c_[set|get]_bus_speed() functions


New default, weak i2c_get_bus_speed() and i2c_set_bus_speed() functions
replace a number of architecture-specific implementations.

Also, providing default functions will allow all boards to enable
CONFIG_I2C_CMD_TREE.  This was previously not possible since the
tree-form of the i2c command provides the ability to display and modify
the i2c bus speed which requires i2c_[set|get]_bus_speed() to be
present.

Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
parent 8229e9c0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment