blob: 4d4bbf6609afeba4ba342a720c015561eb188b7e [file] [log] [blame]
#
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-FileCopyrightText: Copyright TF-RMM Contributors.
#
#
# Set the RMM_PLATFORM variable to Cmake cache.
#
set(RMM_PLATFORM "arm" CACHE STRING "platform")
arm_config_option_override(NAME RMM_TOOLCHAIN DEFAULT "gnu")
#
# Set RMM_MAX_SIZE for this platform (36MB)
#
arm_config_option_override(NAME RMM_MAX_SIZE DEFAULT 0x02400000)
#
# Maximum number of translation tables allocated by the runtime context
# for the translation library.
#
arm_config_option_override(NAME PLAT_CMN_CTX_MAX_XLAT_TABLES DEFAULT 6)
#
# Maximum number of granules supported, enough to cover (2GB - 128MB) of DRAM0
# and 6GB DRAM1.
#
arm_config_option_override(NAME RMM_MAX_GRANULES DEFAULT 0x1FBA00)
#
# Set MAX_CPUS for this platform (32)
#
arm_config_option_override(NAME MAX_CPUS DEFAULT 32)