diff options
author | Robert Rosengren <robert.rosengren@stericsson.com> | 2010-11-01 14:52:09 +0100 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-11-12 09:32:34 +0100 |
commit | b5324791d9bf1658b76d15f0287b0d827269e332 (patch) | |
tree | 3c3827b78f4a0e1ca337510ab995b56210b558f2 /board/st/u8500/u8500.c | |
parent | e0269f4ccade16581df37ca6f486131d9f8228fd (diff) |
U8500: Enabled support for i2c1-3
Moved enabling of clocks into i2c driver, making it possible to use all i2c
from 0 to 3.
Changed sanity check of i2c_read function to make it possible read from
devices with 2 byte address.
ST-Ericsson ID: CR275232
Change-Id: I6c9c2efe20dcb6903419ba531a86228a5f4491ca
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8340
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'board/st/u8500/u8500.c')
-rw-r--r-- | board/st/u8500/u8500.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/st/u8500/u8500.c b/board/st/u8500/u8500.c index 37f81211d..41325124d 100644 --- a/board/st/u8500/u8500.c +++ b/board/st/u8500/u8500.c @@ -586,9 +586,6 @@ static void init_regs(void) u8500_clock_enable(3, 6, 6); /* UART2 */ - gpio_altfuncenable(GPIO_ALT_I2C_0, "I2C0"); - u8500_clock_enable(3, 3, 3); /* I2C0 */ - { /* UART2: 29, 30 */ struct gpio_register *p_gpio_register = (void *) IO_ADDRESS(CFG_GPIO_0_BASE); |