]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/u-boot.lds
armv8: add simple sdelay implementation
[u-boot] / arch / arm / cpu / u-boot.lds
index 36c9fd0bd01f36737ed60b3b33d239b7cb860610..37d4c605aca3256032974302c2f6b916fb3731d0 100644 (file)
@@ -74,6 +74,7 @@ SECTIONS
                *(._secure.data)
        }
 
+#ifdef CONFIG_ARMV7_PSCI
        .secure_stack ALIGN(ADDR(.secure_data) + SIZEOF(.secure_data),
                            CONSTANT(COMMONPAGESIZE)) (NOLOAD) :
 #ifdef __ARMV7_PSCI_STACK_IN_RAM
@@ -107,6 +108,8 @@ SECTIONS
 #ifndef __ARMV7_PSCI_STACK_IN_RAM
        /* Reset VMA but don't allocate space if we have secure SRAM */
        . = LOADADDR(.secure_stack);
+#endif
+
 #endif
 
        .__secure_end : AT(ADDR(.__secure_end)) {