1#
2# Arm SCP/MCP Software
3# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8#
9# Configure the build system.
10#
11
12set(SCP_FIRMWARE "rdn1e1-mcp-bl2")
13
14set(SCP_FIRMWARE_TARGET "rdn1e1-mcp-bl2")
15
16set(SCP_TOOLCHAIN_INIT "GNU")
17
18set(SCP_GENERATE_FLAT_BINARY_INIT TRUE)
19
20set(SCP_ENABLE_NOTIFICATIONS_INIT TRUE)
21
22set(SCP_ENABLE_IPO_INIT FALSE)
23
24set(SCP_ARCHITECTURE "arm-m")
25
26set(SCP_ENABLE_DEBUGGER_INIT FALSE)
27
28list(PREPEND SCP_MODULE_PATHS
29    "${CMAKE_CURRENT_LIST_DIR}/../module/mcp_platform")
30
31# The order of the modules in the following list is the order in which the
32# modules are initialized, bound, started during the pre-runtime phase.
33# any change in the order will cause firmware initialization errors.
34
35list(APPEND SCP_MODULES "armv7m-mpu")
36list(APPEND SCP_MODULES "pl011")
37list(APPEND SCP_MODULES "clock")
38list(APPEND SCP_MODULES "pcid")
39list(APPEND SCP_MODULES "timer")
40list(APPEND SCP_MODULES "gtimer")
41list(APPEND SCP_MODULES "mcp-platform")
42
43if(SCP_ENABLE_DEBUGGER)
44    list(APPEND SCP_MODULES,"debugger-cli")
45endif()
46