imx233: rework i2c driver to fix dma issues
commit4604e984e857fc15db22cc78a415efeec172b6e8
authorAmaury Pouly <amaury.pouly@gmail.com>
Sat, 18 Aug 2012 13:38:43 +0000 (18 15:38 +0200)
committerAmaury Pouly <amaury.pouly@gmail.com>
Sat, 18 Aug 2012 13:38:43 +0000 (18 15:38 +0200)
treeae3c9a9a8b256ab8727dfe21fd45896237ba08b9
parent246c2127a7fb9001781dff5bff41b53cc2215e98
imx233: rework i2c driver to fix dma issues

There are tricky DMA/cache related issue on the imx233 which could
pop up with the old driver. The new one ensures that all dma
tranfers are cache safe by using an intermediate buffer.

Change-Id: I72060682d1c285c83ae16455cfdb62f372b5d687
firmware/target/arm/imx233/i2c-imx233.c
firmware/target/arm/imx233/i2c-imx233.h