mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 00:11:32 +00:00
i2c: mvtwsi: sunxi: update macro
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: Heiko Schocher <hs@denx.de> Reviewed-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
aaebb900c6
commit
b296800203
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue