arm64: add config options for exception level startup

Depending on the armv8 implementation the cpus could start in
EL1, EL2, or EL3.  Therefore allow the SoC to select the appropriate
mode.

BUG=chrome-os-partner:31545
BRANCH=None
TEST=Built.

Change-Id: Id063681ef7691097e528c105fffac5d467585e4e
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/214666
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Aaron Durbin 2014-08-27 10:44:32 -05:00 committed by chrome-internal-fetch
commit bb6b092a43

View file

@ -7,3 +7,15 @@ config ARCH_ROMSTAGE_ARM_V8_64
config ARCH_RAMSTAGE_ARM_V8_64
def_bool n
select ARCH_RAMSTAGE_ARM64
config ARM64_CPUS_START_IN_EL3
def_bool n
depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64
config ARM64_CPUS_START_IN_EL2
def_bool n
depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64
config ARM64_CPUS_START_IN_EL1
def_bool n
depends on ARCH_BOOTBLOCK_ARM_V8_64 || ARCH_ROMSTAGE_ARM_V8_64 || ARCH_RAMSTAGE_ARM_V8_64