1#
2# Arm SCP/MCP Software
3# Copyright (c) 2021-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 "tc0-bl1")
13
14set(SCP_FIRMWARE_TARGET "tc0-bl1")
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_PLATFORM_VARIANT_INIT 0)
25
26set(SCP_ARCHITECTURE "arm-m")
27
28list(PREPEND SCP_MODULE_PATHS "${CMAKE_SOURCE_DIR}/module/cmn_booker")
29
30# The order of the modules in the following list is the order in which the
31# modules are initialized, bound, started during the pre-runtime phase.
32# any change in the order will cause firmware initialization errors.
33
34list(APPEND SCP_MODULES "pl011")
35list(APPEND SCP_MODULES "ppu-v1")
36list(APPEND SCP_MODULES "msys-rom")
37list(APPEND SCP_MODULES "sds")
38list(APPEND SCP_MODULES "bootloader")
39list(APPEND SCP_MODULES "system-pll")
40list(APPEND SCP_MODULES "pik-clock")
41list(APPEND SCP_MODULES "css-clock")
42list(APPEND SCP_MODULES "clock")
43list(APPEND SCP_MODULES "gtimer")
44list(APPEND SCP_MODULES "timer")
45list(APPEND SCP_MODULES "cmn-booker")
46