On 7/5/25 15:06, Corey Minyard wrote:
On Wed, May 07, 2025 at 02:40:40PM +0200, Bernhard Beschow wrote:
According to the i.MX 8M Plus reference manual, the status flag I2C_I2SR[IIF]
continues to be set when an interrupt condition occurs even when I2C interrupts
are disabled (I2C_I2CR[IIEN] is clear). However, the device model only sets the
flag when I2C interrupts are enabled which causes U-Boot to loop forever. Fix
the device model by always setting the flag and let I2C_I2CR[IIEN] guard I2C
interrupts only.

Also remove the comment in the code since it merely stated the obvious and would
be outdated now.

This looks good to me.  I can give you an:

Acked-by: Corey Minyard <cminy...@mvista.com>

or I can take it into my tree.

I have to respin my hw-misc PR so I'll squeeze this.

Thanks!

Phil.

Reply via email to