Message ID | 20210103092633.36226-5-jernej.skrabec@siol.net |
---|---|
State | Superseded |
Delegated to: | Andre Przywara |
Headers | show |
Series | sunxi: Introduce H616 support | expand |
On 1/3/21 3:26 AM, Jernej Skrabec wrote: > While currently none of the newer Allwinner SoCs currently has I2C > support implemented in U-Boot, this will change soon. mvtwsi driver is > good as it is for them except one macro. Update it to be ready once I2C > support lands for those SoCs. > > Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Samuel Holland <samuel@sholland.org>
Hello Jernej, Am 03.01.21 um 10:26 schrieb Jernej Skrabec: > While currently none of the newer Allwinner SoCs currently has I2C > support implemented in U-Boot, this will change soon. mvtwsi driver is > good as it is for them except one macro. Update it to be ready once I2C > support lands for those SoCs. > > Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> > --- > drivers/i2c/mvtwsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Heiko Schocher <hs@denx.de> bye, Heiko
diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index 14c594d648ba..36d0d1485277 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -121,7 +121,7 @@ enum mvtwsi_ctrl_register_fields { * on other platforms, it is a normal r/w bit, which is cleared by writing 0. */ -#ifdef CONFIG_SUNXI_GEN_SUN6I +#if defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_SUN50I_GEN_H6) #define MVTWSI_CONTROL_CLEAR_IFLG 0x00000008 #else #define MVTWSI_CONTROL_CLEAR_IFLG 0x00000000
While currently none of the newer Allwinner SoCs currently has I2C support implemented in U-Boot, this will change soon. mvtwsi driver is good as it is for them except one macro. Update it to be ready once I2C support lands for those SoCs. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> --- drivers/i2c/mvtwsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)