From 6c36cb7a486647c99078f2794f2c7bc6e9116d1e Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 6 Jan 2022 13:28:34 -0700 Subject: aarch64: always boot into EL1NS Always start the executive in Exception Level 1, Non-Secure mode. If we boot in EL3 Secure with GICv3 then we have to initialize the distributor and redistributor to set up G1NS interrupts early in the boot sequence before stepping down from EL3S to EL1NS. Now there is no need to distinguish between secure and non-secure world execution after the primary core boots, so get rid of the AARCH64_IS_NONSECURE configuration option. --- spec/build/bsps/aarch64/a53/grp.yml | 2 -- spec/build/bsps/aarch64/a72/grp.yml | 2 -- spec/build/bsps/aarch64/optisns.yml | 20 -------------------- spec/build/bsps/aarch64/xilinx-versal/grp.yml | 2 -- spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml | 2 -- 5 files changed, 28 deletions(-) delete mode 100644 spec/build/bsps/aarch64/optisns.yml (limited to 'spec/build') diff --git a/spec/build/bsps/aarch64/a53/grp.yml b/spec/build/bsps/aarch64/a53/grp.yml index 98ce7049f6..cc6418da75 100644 --- a/spec/build/bsps/aarch64/a53/grp.yml +++ b/spec/build/bsps/aarch64/a53/grp.yml @@ -11,8 +11,6 @@ links: uid: ../grp - role: build-dependency uid: ../start -- role: build-dependency - uid: ../optisns - role: build-dependency uid: abi - role: build-dependency diff --git a/spec/build/bsps/aarch64/a72/grp.yml b/spec/build/bsps/aarch64/a72/grp.yml index 575acf68bc..3dbf7cca33 100644 --- a/spec/build/bsps/aarch64/a72/grp.yml +++ b/spec/build/bsps/aarch64/a72/grp.yml @@ -11,8 +11,6 @@ links: uid: ../grp - role: build-dependency uid: ../start -- role: build-dependency - uid: ../optisns - role: build-dependency uid: abi - role: build-dependency diff --git a/spec/build/bsps/aarch64/optisns.yml b/spec/build/bsps/aarch64/optisns.yml deleted file mode 100644 index 8db901604b..0000000000 --- a/spec/build/bsps/aarch64/optisns.yml +++ /dev/null @@ -1,20 +0,0 @@ -SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -actions: -- get-boolean: null -- define-condition: null -build-type: option -copyrights: -- Copyright (C) 2021 Gedare Bloom -default: true -default-by-variant: -- value: false - variants: - - aarch64/xilinx_versal_lp64_qemu - - aarch64/xilinx_versal_ilp32_qemu -description: | - If set to true, then the processor starts and stays in the non-secure mode, - otherwise it will be in the secure mode. -enabled-by: true -links: [] -name: AARCH64_IS_NONSECURE -type: build diff --git a/spec/build/bsps/aarch64/xilinx-versal/grp.yml b/spec/build/bsps/aarch64/xilinx-versal/grp.yml index 68e350c78d..f135f48a32 100644 --- a/spec/build/bsps/aarch64/xilinx-versal/grp.yml +++ b/spec/build/bsps/aarch64/xilinx-versal/grp.yml @@ -13,8 +13,6 @@ links: uid: ../start - role: build-dependency uid: ../optmmupages -- role: build-dependency - uid: ../optisns - role: build-dependency uid: ../optgtusevirt - role: build-dependency diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml index 5ff80f3392..0e89981af5 100644 --- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml +++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml @@ -13,8 +13,6 @@ links: uid: ../start - role: build-dependency uid: ../optmmupages -- role: build-dependency - uid: ../optisns - role: build-dependency uid: abi - role: build-dependency -- cgit v1.2.3