Iwamatu-san,
Thank you for review.

(2012/09/13 14:26), Nobuhiro Iwamatsu wrote:
Hi,

Thank you for this work.
If you have a time, could you update sh_i2c using set/clrbits functions?
these functions  is included in asm/io.h.

For example, you can change from
writeb(readb(&base->iccr) & ~SH_I2C_ICCR_ICE, &base->iccr);
to
clrbits_8(&base->iccr, SH_I2C_ICCR_ICE);

OK. I will try it.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to