X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fconfig_fallbacks.h;h=ddfe0450d21c780e44cacf4f26b91d1e15a059a9;hb=28a05a91b1eeb1999aa8c4219e048b9bd13e0db3;hp=508db5626bbeb9fa533ce2ee0ee3731e664659d5;hpb=31cc2c85dc38429e2558dbf1a42e18480e8e9ba6;p=karo-tx-uboot.git diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 508db5626b..ddfe0450d2 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -91,4 +91,10 @@ #undef CONFIG_IMAGE_FORMAT_LEGACY #endif +#ifdef CONFIG_DM_I2C +# ifdef CONFIG_SYS_I2C +# error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" +# endif +#endif + #endif /* __CONFIG_FALLBACKS_H */