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 "rdn2-bl2") 13 14set(SCP_FIRMWARE_TARGET "rdn2-bl2") 15 16set(SCP_TOOLCHAIN_INIT "GNU") 17 18set(SCP_GENERATE_FLAT_BINARY_INIT TRUE) 19set(SCP_ENABLE_NOTIFICATIONS_INIT TRUE) 20 21set(SCP_ENABLE_IPO_INIT FALSE) 22 23set(SCP_ARCHITECTURE "arm-m") 24 25set(SCP_ENABLE_NEWLIB_NANO FALSE) 26 27set(SCP_ENABLE_SCMI_PERF_FAST_CHANNELS TRUE) 28 29list(PREPEND SCP_MODULE_PATHS 30 "${CMAKE_CURRENT_LIST_DIR}/../module/platform_system") 31list(PREPEND SCP_MODULE_PATHS 32 "${CMAKE_SOURCE_DIR}/module/cmn700") 33list(PREPEND SCP_MODULE_PATHS 34 "${CMAKE_SOURCE_DIR}/module/apremap") 35list(PREPEND SCP_MODULE_PATHS 36 "${CMAKE_SOURCE_DIR}/module/pcie_integ_ctrl") 37 38# The order of the modules in the following list is the order in which the 39# modules are initialized, bound, started during the pre-runtime phase. 40# any change in the order will cause firmware initialization errors. 41 42list(APPEND SCP_MODULES "armv7m-mpu") 43list(APPEND SCP_MODULES "apremap") 44list(APPEND SCP_MODULES "sid") 45list(APPEND SCP_MODULES "system-info") 46list(APPEND SCP_MODULES "pcid") 47list(APPEND SCP_MODULES "pl011") 48list(APPEND SCP_MODULES "pik-clock") 49list(APPEND SCP_MODULES "css-clock") 50list(APPEND SCP_MODULES "clock") 51list(APPEND SCP_MODULES "gtimer") 52list(APPEND SCP_MODULES "timer") 53list(APPEND SCP_MODULES "cmn700") 54list(APPEND SCP_MODULES "apcontext") 55list(APPEND SCP_MODULES "pcie_integ_ctrl") 56list(APPEND SCP_MODULES "ppu-v1") 57list(APPEND SCP_MODULES "system-power") 58list(APPEND SCP_MODULES "mhu2") 59list(APPEND SCP_MODULES "transport") 60list(APPEND SCP_MODULES "scmi") 61list(APPEND SCP_MODULES "sds") 62list(APPEND SCP_MODULES "system-pll") 63list(APPEND SCP_MODULES "power-domain") 64list(APPEND SCP_MODULES "scmi-power-domain") 65list(APPEND SCP_MODULES "scmi-system-power") 66list(APPEND SCP_MODULES "platform-system") 67list(APPEND SCP_MODULES "sp805") 68list(APPEND SCP_MODULES "psu") 69list(APPEND SCP_MODULES "mock-psu") 70list(APPEND SCP_MODULES "dvfs") 71list(APPEND SCP_MODULES "scmi-perf") 72