From 9d77c0f4254c259d75ae838c6bf4eda318fe5cd1 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 7 Jan 2021 19:39:20 -0600 Subject: spec: Move hypervisor start for use by AArch64 AArch64 on hardware is often started at EL2 instead of EL1 from either u-boot or a first stage bootloader. This allows RTEMS to drop from EL2 execution to EL1 to operate as normal. --- spec/build/bsps/arm/optstarthyp.yml | 16 ---------------- spec/build/bsps/arm/raspberrypi/grp.yml | 2 +- spec/build/bsps/optstarthyp.yml | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 spec/build/bsps/arm/optstarthyp.yml create mode 100644 spec/build/bsps/optstarthyp.yml diff --git a/spec/build/bsps/arm/optstarthyp.yml b/spec/build/bsps/arm/optstarthyp.yml deleted file mode 100644 index d21db5ad4f..0000000000 --- a/spec/build/bsps/arm/optstarthyp.yml +++ /dev/null @@ -1,16 +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) 2020 embedded brains GmbH (http://www.embedded-brains.de) -default: true -default-by-variant: [] -description: | - If set to true, then the a system start in hypervisor mode (EL2) is - supported, otherwise it is unsupported. -enabled-by: true -links: [] -name: BSP_START_IN_HYP_SUPPORT -type: build diff --git a/spec/build/bsps/arm/raspberrypi/grp.yml b/spec/build/bsps/arm/raspberrypi/grp.yml index 4a86c5c688..7291e8b178 100644 --- a/spec/build/bsps/arm/raspberrypi/grp.yml +++ b/spec/build/bsps/arm/raspberrypi/grp.yml @@ -16,7 +16,7 @@ links: - role: build-dependency uid: objsmp - role: build-dependency - uid: ../optstarthyp + uid: ../../optstarthyp - role: build-dependency uid: opti2ciomode - role: build-dependency diff --git a/spec/build/bsps/optstarthyp.yml b/spec/build/bsps/optstarthyp.yml new file mode 100644 index 0000000000..d21db5ad4f --- /dev/null +++ b/spec/build/bsps/optstarthyp.yml @@ -0,0 +1,16 @@ +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) 2020 embedded brains GmbH (http://www.embedded-brains.de) +default: true +default-by-variant: [] +description: | + If set to true, then the a system start in hypervisor mode (EL2) is + supported, otherwise it is unsupported. +enabled-by: true +links: [] +name: BSP_START_IN_HYP_SUPPORT +type: build -- cgit v1.2.3