]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-imx/mx7/soc.c
Merge git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / mach-imx / mx7 / soc.c
index 7152c847d0a736cf82f8661f3497339b15b8fd62..87bf105f385d4c12bee6d038c0ba50e2e588124c 100644 (file)
@@ -31,7 +31,7 @@ U_BOOT_DEVICE(imx7_thermal) = {
 };
 #endif
 
-#ifdef CONFIG_IMX_RDC
+#if CONFIG_IS_ENABLED(IMX_RDC)
 /*
  * In current design, if any peripheral was assigned to both A7 and M4,
  * it will receive ipg_stop or ipg_wait when any of the 2 platforms enter
@@ -245,8 +245,9 @@ int arch_cpu_init(void)
        mxs_dma_init();
 #endif
 
-       if (IS_ENABLED(CONFIG_IMX_RDC))
-               isolate_resource();
+#if CONFIG_IS_ENABLED(IMX_RDC)
+       isolate_resource();
+#endif
 
        return 0;
 }