From: John Jacques <john.jacq...@intel.com>

Axxia AXM55xx memory is by architecture non-secure, so set NS bit.

Signed-off-by: John Jacques <john.jacq...@intel.com>
Signed-off-by: Charlie Paul <charlie.p...@windriver.com>
Signed-off-by: Daniel Dragomir <daniel.drago...@windriver.com>
---
 arch/arm/kernel/head.S | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 11b94f7..2f3fe86 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -323,6 +323,10 @@ __create_page_tables:
 #endif
 #else
        orr     r3, r3, #PMD_SECT_XN
+#ifdef CONFIG_ARCH_AXXIA
+       /* Axxia memory is non-secure, so set NS. */
+       orr     r7, r7, #0x20
+#endif
        str     r3, [r0], #4
 #endif
 
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9500): 
https://lists.yoctoproject.org/g/linux-yocto/message/9500
Mute This Topic: https://lists.yoctoproject.org/mt/81082028/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to