[RFC PATCH 08/17] sunxi: introduce NCAT2 generation model

Maksim Kiselev bigunclemax at gmail.com
Thu May 25 20:25:57 CEST 2023

Hi, Andre

Could you please include this fix for i2c in the next version of this 

diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
index 93bbc6916e..d088ea75b9 100644
--- a/drivers/i2c/mvtwsi.c
+++ b/drivers/i2c/mvtwsi.c
@@ -124,7 +124,7 @@ enum mvtwsi_ctrl_register_fields {
   * on other platforms, it is a normal r/w bit, which is cleared by 
writing 0.

-#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6)
+#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6) || 
  #define        MVTWSI_CONTROL_CLEAR_IFLG       0x00000008
  #define        MVTWSI_CONTROL_CLEAR_IFLG       0x00000000

More information about the U-Boot mailing list