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 "host" CACHE STRING "platform")
10
11arm_config_option_override(NAME RMM_ARCH DEFAULT "fake_host")
12arm_config_option_override(NAME RMM_TOOLCHAIN DEFAULT "gnu")
13
14#
15# Width of the virtual address space for the system.
16#
17arm_config_option_override(NAME VIRT_ADDR_SPACE_WIDTH DEFAULT 38)
18
19#
20# Set RMM_MAX_SIZE for this platform.
21#
22arm_config_option_override(NAME RMM_MAX_SIZE DEFAULT 0x01000000)
23
24#
25# Maximum number of translation tables allocated by the runtime context
26# for the translation library.
27#
28arm_config_option_override(NAME PLAT_CMN_CTX_MAX_XLAT_TABLES DEFAULT 6)
29
30#
31# Maximum number of granules supported, enough to cover 2GB of DDR0.
32#
33arm_config_option_override(NAME RMM_MAX_GRANULES DEFAULT 0x80000)
34