arch/arm/lib/bootm-fdt.c: Guard the include of <asm/armv7.h>
[platform/kernel/u-boot.git] / arch / arm / lib / bootm-fdt.c
index 0eb10a8..7677358 100644 (file)
@@ -17,7 +17,9 @@
 
 #include <common.h>
 #include <fdt_support.h>
+#ifdef CONFIG_ARMV7_NONSEC
 #include <asm/armv7.h>
+#endif
 #include <asm/psci.h>
 
 DECLARE_GLOBAL_DATA_PTR;