summaryrefslogtreecommitdiff
path: root/board/ti/ks2_evm/board_k2g.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/ks2_evm/board_k2g.c')
-rw-r--r--board/ti/ks2_evm/board_k2g.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c
index 2be86d6d26..5229afad63 100644
--- a/board/ti/ks2_evm/board_k2g.c
+++ b/board/ti/ks2_evm/board_k2g.c
@@ -259,7 +259,7 @@ int board_fit_config_name_match(const char *name)
#if defined(CONFIG_DTB_RESELECT)
static int k2g_alt_board_detect(void)
{
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
int rc;
rc = i2c_set_bus_num(1);