diff options
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r-- | include/config_fallbacks.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 508db56..ddfe045 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 */ |