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 "rdfremont-lcp-bl2") 13 14set(SCP_FIRMWARE_TARGET "rdfremont-lcp-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/mod_lcp_platform") 30list(PREPEND SCP_MODULE_PATHS "${CMAKE_SOURCE_DIR}/module/mhu3") 31 32# The order of the modules in the following list is the order in which the 33# modules are initialized, bound, started during the pre-runtime phase. 34# any change in the order will cause firmware initialization errors. 35 36list(APPEND SCP_MODULES "armv8m-mpu") 37list(APPEND SCP_MODULES "lcp-platform") 38list(APPEND SCP_MODULES "pl011") 39list(APPEND SCP_MODULES "transport") 40list(APPEND SCP_MODULES "mhu3") 41