]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/bootm-fdt.c
arch/arm/lib/bootm-fdt.c: Guard the include of <asm/armv7.h>
[karo-tx-uboot.git] / arch / arm / lib / bootm-fdt.c
index 0eb10a86874371936bbfaf6ca2cb74523c32c616..7677358742e1bd3ee257495bbff71f67f2965cc4 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;