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# Maximum number of translation tables allocated by the runtime context
18# for the translation library.
19#
20arm_config_option_override(NAME PLAT_CMN_CTX_MAX_XLAT_TABLES DEFAULT 7)
21
22#
23# Maximum number of granules supported.
24#
25arm_config_option_override(NAME RMM_MAX_GRANULES DEFAULT 0x100000)
26
27#
28# TF-A sets a limit of 32 CPUs for the QEMU virt platform.
29#
30arm_config_option_override(NAME MAX_CPUS DEFAULT 32)
31