aboutsummaryrefslogtreecommitdiff
path: root/include/configs/am43xx_evm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/am43xx_evm.h')
-rw-r--r--include/configs/am43xx_evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 8355b4abc0..6df6b49c80 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -26,7 +26,7 @@
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
/* Power */
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
#define CONFIG_POWER
#define CONFIG_POWER_I2C
#endif