Skip to content

Commit 1bf36e2

Browse files
author
Nicolas Pitre
committed
arch: arm64: rename CONFIG_ARMV8_A_NS to CONFIG_ARM64_NS
The CONFIG_ARMV8_A_NS option controls TrustZone Non-Secure state configuration, which is not specific to ARMv8-A but applies to the broader ARM64 architecture family including both ARMv8-A and ARMv9-A. No functional changes. Signed-off-by: Nicolas Pitre <[email protected]>
1 parent f424edf commit 1bf36e2

File tree

53 files changed

+60
-60
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+60
-60
lines changed

arch/arm64/core/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ config ARM64_STACK_PROTECTION
216216

217217
if CPU_CORTEX_A
218218

219-
config ARMV8_A_NS
220-
bool "ARMv8-A Normal World (Non-Secure world of Trustzone)"
219+
config ARM64_NS
220+
bool "ARM64 Normal World (Non-Secure world of Trustzone)"
221221
help
222222
This option signifies that Zephyr is entered in TrustZone
223223
Non-Secure state

arch/arm64/core/reset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void z_arm64_el3_init(void)
8181
write_cptr_el3(reg);
8282

8383
reg = 0U; /* Reset */
84-
#ifdef CONFIG_ARMV8_A_NS
84+
#ifdef CONFIG_ARM64_NS
8585
reg |= SCR_NS_BIT; /* EL2 / EL3 non-secure */
8686
#else
8787
if (is_in_secure_state() && is_el2_sec_supported()) {

boards/amd/versalnet_apu/versalnet_apu_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ CONFIG_UART_CONSOLE=y
1717
CONFIG_UART_PL011=y
1818

1919
# This should be commented in order to test at EL1 S (EL1 Secure)
20-
CONFIG_ARMV8_A_NS=y
20+
CONFIG_ARM64_NS=y
2121

2222
# FPU support is disabled due to QEMU limitations. When CONFIG_FPU_SHARING
2323
# is enabled, it uses the swpal instruction which QEMU does not emulate.

boards/arm/fvp_base_revc_2xaem/doc/index.rst

Lines changed: 1 addition & 1 deletion

boards/arm/fvp_base_revc_2xaem/fvp_base_revc_2xaem_v8a_smp_ns_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_CONSOLE=y
1818
CONFIG_UART_CONSOLE=y
1919

2020
# Enable TFA
21-
CONFIG_ARMV8_A_NS=y
21+
CONFIG_ARM64_NS=y
2222
CONFIG_BUILD_WITH_TFA=y
2323

2424
# Enable SMP

boards/arm/fvp_base_revc_2xaem/fvp_base_revc_2xaem_v9a_smp_ns_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_CONSOLE=y
1818
CONFIG_UART_CONSOLE=y
1919

2020
# Enable TFA
21-
CONFIG_ARMV8_A_NS=y
21+
CONFIG_ARM64_NS=y
2222
CONFIG_BUILD_WITH_TFA=y
2323

2424
# Enable SMP

boards/beagle/pocketbeagle_2/pocketbeagle_2_am6232_a53_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# ARM Options
88
CONFIG_AARCH64_IMAGE_HEADER=y
9-
CONFIG_ARMV8_A_NS=y
9+
CONFIG_ARM64_NS=y
1010
CONFIG_ARM64_VA_BITS_36=y
1111
CONFIG_ARM64_PA_BITS_36=y
1212

boards/beagle/pocketbeagle_2/pocketbeagle_2_am6254_a53_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# ARM Options
88
CONFIG_AARCH64_IMAGE_HEADER=y
9-
CONFIG_ARMV8_A_NS=y
9+
CONFIG_ARM64_NS=y
1010
CONFIG_ARM64_VA_BITS_36=y
1111
CONFIG_ARM64_PA_BITS_36=y
1212

boards/firefly/roc_rk3568_pc/roc_rk3568_pc_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CONFIG_CONSOLE=y
1515
CONFIG_UART_CONSOLE=y
1616

1717
# ARMv8 NS world with cache management
18-
CONFIG_ARMV8_A_NS=y
18+
CONFIG_ARM64_NS=y
1919
CONFIG_CACHE_MANAGEMENT=y
2020

2121
# Clock support

boards/firefly/roc_rk3568_pc/roc_rk3568_pc_rk3568_smp_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CONFIG_CONSOLE=y
1515
CONFIG_UART_CONSOLE=y
1616

1717
# ARMv8 NS world with cache management
18-
CONFIG_ARMV8_A_NS=y
18+
CONFIG_ARM64_NS=y
1919
CONFIG_CACHE_MANAGEMENT=y
2020
CONFIG_DCACHE=y
2121

0 commit comments

Comments
 (0)