1# 2# SPDX-License-Identifier: BSD-3-Clause 3# SPDX-FileCopyrightText: Copyright TF-RMM Contributors. 4# 5 6# 7# Set the RMM_PLATFORM variable to Cmake cache. 8# 9set(RMM_PLATFORM "arm" CACHE STRING "platform") 10arm_config_option_override(NAME RMM_TOOLCHAIN DEFAULT "gnu") 11 12# 13# Set RMM_MAX_SIZE for this platform (24MB) 14# 15arm_config_option_override(NAME RMM_MAX_SIZE DEFAULT 0x01800000) 16 17# 18# Maximum number of translation tables allocated by the runtime context 19# for the translation library. 20# 21arm_config_option_override(NAME PLAT_CMN_CTX_MAX_XLAT_TABLES DEFAULT 13) 22 23# 24# Maximum number of granules supported, enough to cover 25# (2GB - 64MB) of DRAM0 and 2GB of DRAM1. We overprovision 26# for the case that DT has not catered for the 64 MB carveout. 27# 28arm_config_option_override(NAME RMM_MAX_GRANULES DEFAULT 0x100000) 29 30# 31# Maximum number of non-coherent device granules supported, enough to cover 32# 256MB of PCIe memory region 1 and 3GB of region 2. 33# 34arm_config_option_override(NAME RMM_MAX_NCOH_GRANULES DEFAULT 0xd0000) 35