diff options
Diffstat (limited to 'make_helpers/constraints.mk')
| -rw-r--r-- | make_helpers/constraints.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make_helpers/constraints.mk b/make_helpers/constraints.mk index a11603f33..5a828c0cd 100644 --- a/make_helpers/constraints.mk +++ b/make_helpers/constraints.mk @@ -62,8 +62,10 @@ endif ifeq (${CTX_INCLUDE_EL2_REGS}, 1) ifeq (${SPD},none) ifeq (${ENABLE_RMM},0) - $(error CTX_INCLUDE_EL2_REGS is available only when SPD \ - or RMM is enabled) + ifeq (${ENABLE_LFA_BL31},0) + $(error CTX_INCLUDE_EL2_REGS is available only when SPD \ + RMM, or BL31 LFA is enabled) + endif endif endif endif |
