feat(tc): enable vhe and disable branch protection
The trusted services which will run as secure partitions in TC, does not
have the PAC/BTI enabled. Hence disabling branch protection.
Signed-off-by: Davidson K <davidson.kumaresan@arm.com>
Change-Id: I60cd607d9f2bf0114b482980e7ca68e24aaf4d1f
diff --git a/BUILD.gn b/BUILD.gn
index cc6a78f..acd1f9d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -245,7 +245,6 @@
heap_pages = 180
max_cpus = 8
max_vms = 16
- branch_protection = "standard"
toolchain_args = {
plat_ffa = "//src/arch/aarch64/plat/ffa:spmc"
plat_psci = "//src/arch/aarch64/plat/psci:spmc"
@@ -254,6 +253,7 @@
secure_world = "1"
pl011_base_address = "0x7ff80000"
enable_mte = "1"
+ enable_vhe = "1"
plat_log_level = "LOG_LEVEL_INFO"
}
}