summaryrefslogtreecommitdiffstats
path: root/include/configs/T208xQDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/T208xQDS.h')
-rw-r--r--include/configs/T208xQDS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 1735b170fd..f0ef365a85 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -377,7 +377,7 @@ unsigned long get_board_ddr_clk(void);
/*
* I2C
*/
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
#define CONFIG_SYS_I2C
#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
#define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F