diff options
author | Marek Vasut <marex@denx.de> | 2012-11-12 14:34:28 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-11 13:17:30 -0700 |
commit | f32a470ed3dfff493473bc25c7d0a01920507eed (patch) | |
tree | aab877c32ae2e4c9cd0e0252d58c18365cb06a2e /include/at91rm9200_i2c.h | |
parent | 06afa388b2f6f0f974a9d60f0e5fc273b857bdeb (diff) | |
download | u-boot-imx-f32a470ed3dfff493473bc25c7d0a01920507eed.zip u-boot-imx-f32a470ed3dfff493473bc25c7d0a01920507eed.tar.gz u-boot-imx-f32a470ed3dfff493473bc25c7d0a01920507eed.tar.bz2 |
i2c: mxs: Abstract out the MXS I2C speed setup
This patch pulls out the I2C speed setup from the i2c_init() call
and implements the bus configuration lookup table with register
values that needs to be programmed into the I2C IP to run at
particular speed.
This patch is a first step towards implementing run-time I2C bus
speed configuration for the MXS I2C IP.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/at91rm9200_i2c.h')
0 files changed, 0 insertions, 0 deletions