[U-Boot] [PATCH 6/8 V2] I2C: Modify the I2C driver for EXYNOS5

Joonyoung Shim dofmind at gmail.com
Tue Jun 19 09:15:28 CEST 2012


>>> +static void i2c_bus_init(struct s3c24x0_i2c *i2c, unsigned int bus)
>>> +{
>>> +       int periph_id = i2c_get_periph_id(bus);
>>> +
>>> +       exynos_pinmux_config(periph_id, 0);
>>> +
>>> +       i2c_ch_init(i2c, CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
>>> +}
>>
>> This function is used only in EXYNOS5.
> -- This will be used in Multi bus also which other boards can use.

But, this will cause compile errors at the s3c24xx.


-- 
- Joonyoung Shim


More information about the U-Boot mailing list