>>> +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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to