diff --git a/lib/xlat_tables_v2/ro_xlat_tables.mk b/lib/xlat_tables_v2/ro_xlat_tables.mk index 7991e1afd..fb8a426bf 100644 --- a/lib/xlat_tables_v2/ro_xlat_tables.mk +++ b/lib/xlat_tables_v2/ro_xlat_tables.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2020, ARM Limited. All rights reserved. +# Copyright (c) 2020-2022, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -34,4 +34,8 @@ else # if AArch64 attributes, which is not possible once the translation tables \ have been made read-only.") endif + ifeq (${SPMC_AT_EL3},1) + $(error "EL3 SPMC requires functionality from the dynamic translation \ + library and is incompatible with ALLOW_RO_XLAT_TABLES.") + endif endif