• T
    TI OMAP3 Use arm init sequence to initialize i2c · 54737ba1
    Tom Rix 提交于
    This changes fixes an early i2c error.
    
    It appears that I2C is working because once a read or write
    error is detected, the omap24xx_i2c driver calls i2c_init
    inside its error handling check.
    
    While it is ok to attempt error handling this way, the boards
    must not depend on this side effect to initialize it's i2c.
    
    Instead of explicitly calling i2c_init for every board, use
    the generic arm initialization in lib_arm/board.c. By defining
    the config variable CONFIG_HARD_I2C, the omap3 i2c initialization
    is included in the init_sequence table.
    
    Run tested on Beagle.
    Compile tested on the omap3's
    Signed-off-by: NTom Rix <Tom.Rix@windriver.com>
    Acked-by: NDirk Behme <dirk.behme@googlemail.com>
    54737ba1
devkit8000.h 9.5 KB