[PATCH 4/6] i2c: fsl_i2c: fix m68k transferts

Heiko Schocher hs at denx.de
Tue Apr 11 13:02:47 CEST 2023


Hello Angelo,

On 05.04.23 00:59, Angelo Dureghello wrote:
> This driver is actually used for powerpc and m68k/ColdFire.
> 
> On ColdFire SoC's, interrupt flag get not set if IIEN flag (mbcr bit6,
> interrupt enabled) is not set appropriately before each transfert.
> As a result, the transfert hangs forever waiting for IIEN.
> This patch set IIEN before each transfert, while considering this fix
> as not harming powerpc arch.
> 
> Signed-off-by: Angelo Dureghello <angelo at kernel-space.org>
> ---
>  arch/m68k/include/asm/fsl_i2c.h | 10 ++++++++++
>  drivers/i2c/fsl_i2c.c           | 16 +++++++++-------
>  2 files changed, 19 insertions(+), 7 deletions(-)


Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list