aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------project/reference13
-rw-r--r--src/arch/aarch64/BUILD.gn6
-rw-r--r--src/arch/aarch64/args.gni2
3 files changed, 15 insertions, 6 deletions
diff --git a/project/reference b/project/reference
-Subproject 23417d8a645efd2b8c79fb1d2c3ffb250a415a9
+Subproject 69cd27d37861b048885be9df9c6bcdf234687e9
diff --git a/src/arch/aarch64/BUILD.gn b/src/arch/aarch64/BUILD.gn
index 6e6223f06..728e35b01 100644
--- a/src/arch/aarch64/BUILD.gn
+++ b/src/arch/aarch64/BUILD.gn
@@ -4,8 +4,14 @@
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/BSD-3-Clause.
+import("args.gni")
+
config("config") {
include_dirs = [ "." ]
+
+ assert(secure_world == "0" || secure_world == "1",
+ "secure world set to <${secure_world}>")
+ defines = [ "SECURE_WORLD=${secure_world}" ]
}
# Implementation of the arch interface for aarch64.
diff --git a/src/arch/aarch64/args.gni b/src/arch/aarch64/args.gni
index 662e904b1..1430f8587 100644
--- a/src/arch/aarch64/args.gni
+++ b/src/arch/aarch64/args.gni
@@ -10,4 +10,6 @@ declare_args() {
# SMC hooks to be used for the platform, specified as build target.
plat_smc = "//src/arch/aarch64/plat/smc:absent"
+
+ secure_world = "0"
}