i2c: Convert CONFIG_POWER_I2C et al to Kconfig
[platform/kernel/u-boot.git] / board / freescale / imx8mp_evk / spl.c
index d317f21..eca42c7 100644 (file)
@@ -63,7 +63,7 @@ struct i2c_pads_info i2c_pad_info1 = {
        },
 };
 
-#ifdef CONFIG_POWER_LEGACY
+#if CONFIG_IS_ENABLED(POWER_LEGACY)
 #define I2C_PMIC       0
 int power_init_board(void)
 {