sunxi: decide the inclusion of SCP by SCP_ADDR existence
[platform/kernel/u-boot.git] / arch / arm / dts / sunxi-u-boot.dtsi
index 06da009..4a6ed3a 100644 (file)
@@ -64,7 +64,7 @@
                                        };
                                };
 
-#ifndef CONFIG_MACH_SUN50I_H616
+#ifdef SCP_ADDR
                                scp {
                                        description = "SCP firmware";
                                        type = "firmware";
@@ -92,7 +92,7 @@
                                @config-SEQ {
                                        description = "NAME";
                                        firmware = "atf";
-#ifdef CONFIG_MACH_SUN50I_H616
+#ifndef SCP_ADDR
                                        loadables = "uboot";
 #else
                                        loadables = "scp", "uboot";