Page MenuHomePhabricator

Libxlat Tables V2ro Xlat Tablesmkvslibxlat Mpuro Xlat Mpumk
Updated 1,222 Days AgoPublic

#                                                             #
# Copyright (c) 2020, ARM Limited. All rights reserved.    |  # Copyright (c) 2021, ARM Limited. All rights reserved.
#                                                             #
# SPDX-License-Identifier: BSD-3-Clause                       # SPDX-License-Identifier: BSD-3-Clause
#                                                             #

ifeq (${USE_DEBUGFS}, 1)                                      ifeq (${USE_DEBUGFS}, 1)
    $(error "Debugfs requires functionality from the dynam        $(error "Debugfs requires functionality from the dynam
             library and is incompatible with ALLOW_RO_XLA                 library and is incompatible with ALLOW_RO_XLA
endif                                                         endif

ifeq (${ARCH},aarch32)                                        ifeq (${ARCH},aarch32)
    ifeq (${RESET_TO_SP_MIN},1)                            |      $(error "The xlat_mpu library does not current support
       $(error "RESET_TO_SP_MIN requires functionality fro <
                translation library and is incompatible wi <
                ALLOW_RO_XLAT_TABLES.")                    <
    endif                                                  <
else # if AArch64                                             else # if AArch64
    ifeq (${PLAT},tegra)                                   <
        $(error "Tegra requires functionality from the dyn <
                 library and is incompatible with ALLOW_RO <
    endif                                                  <
    ifeq (${RESET_TO_BL31},1)                                     ifeq (${RESET_TO_BL31},1)
        $(error "RESET_TO_BL31 requires functionality from            $(error "RESET_TO_BL31 requires functionality from
                 translation library and is incompatible w                     translation library and is incompatible w
                 ALLOW_RO_XLAT_TABLES.")                                       ALLOW_RO_XLAT_TABLES.")
    endif                                                         endif
    ifeq (${SPD},trusty)                                          ifeq (${SPD},trusty)
        $(error "Trusty requires functionality from the dy            $(error "Trusty requires functionality from the dy
                 library and is incompatible with ALLOW_RO                     library and is incompatible with ALLOW_RO
    endif                                                         endif
    ifeq (${SPM_MM},1)                                            ifeq (${SPM_MM},1)
        $(error "SPM_MM requires functionality to change m            $(error "SPM_MM requires functionality to change m
                 attributes, which is not possible once th                     attributes, which is not possible once th
                 have been made read-only.")                                   have been made read-only.")
    endif                                                         endif
endif                                                         endif
Last Author
garymorrison-arm
Last Edited
Jul 2 2021, 10:55 PM