mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09: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
@ -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.
|
* 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
|
#define MVTWSI_CONTROL_CLEAR_IFLG 0x00000008
|
||||||
#else
|
#else
|
||||||
#define MVTWSI_CONTROL_CLEAR_IFLG 0x00000000
|
#define MVTWSI_CONTROL_CLEAR_IFLG 0x00000000
|
||||||
|
Loading…
Reference in New Issue
Block a user