Hi Minkyu, > > + > > +#ifdef CONFIG_SOFT_I2C > > + > > +enum { I2C_PMIC, I2C_NUM, }; > > What purpose of these enum? > Where these used?
For now goni reference target is going to use only one I2C bus (implemented as soft_i2c GPIO). Therefore this enum will be erased for v2. In the future, however this might be needed. > > +#define S5PC110_GPIO_J3 (S5PC110_GPIO_BASE + 0x2C0) > > +#define CONFIG_SOFT_I2C_GPIO_SCL s5p_gpio_get_nr(S5PC110_GPIO_J3, > > 3) +#define CONFIG_SOFT_I2C_GPIO_SDA > > s5p_gpio_get_nr(S5PC110_GPIO_J3, 0) > > I have one question. > How we can handle multiple bus? > I mean.. how we can change SCL and SDA? I've asked this question to Heiko Schocher already. Please refer to this reply: http://lists.denx.de/pipermail/u-boot/2011-July/095610.html -- Best regards, Lukasz Majewski Samsung Poland R&D Center Platform Group _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot