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
8set(SCP_FIRMWARE "sgi575-mcp-bl2")
9
10set(SCP_FIRMWARE_TARGET "sgi575-mcp-bl2")
11
12set(SCP_TOOLCHAIN_INIT "GNU")
13
14set(SCP_GENERATE_FLAT_BINARY TRUE)
15
16set(SCP_ENABLE_NOTIFICATIONS_INIT TRUE)
17
18set(SCP_ENABLE_IPO_INIT FALSE)
19
20set(SCP_ARCHITECTURE "arm-m")
21
22set(SCP_ENABLE_DEBUGGER_INIT FALSE)
23
24list(PREPEND SCP_MODULE_PATHS
25    "${CMAKE_CURRENT_LIST_DIR}/../module/mcp_platform")
26
27# The order of the modules in the following list is the order in which the
28# modules are initialized, bound, started during the pre-runtime phase.
29# any change in the order will cause firmware initialization errors.
30
31list(APPEND SCP_MODULES "armv7m-mpu")
32list(APPEND SCP_MODULES "pl011")
33list(APPEND SCP_MODULES "clock")
34list(APPEND SCP_MODULES "pcid")
35list(APPEND SCP_MODULES "timer")
36list(APPEND SCP_MODULES "gtimer")
37list(APPEND SCP_MODULES "mcp-platform")
38
39if(SCP_ENABLE_DEBUGGER)
40    list(APPEND SCP_MODULES,"debugger-cli")
41endif()
42