1#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8# This CMake script template contains the set of options settled on secure side
9# build but necessary for building the non-secure side too.
10
11set(RSS_XIP                                 @RSS_XIP@ CACHE BOOL "Whether to use XIP via SIC")
12set(RSS_DEBUG_UART                          @RSS_DEBUG_UART@ CACHE BOOL "Whether to use the RSS debug UART")
13set(RSS_USE_HOST_UART                       @RSS_USE_HOST_UART@ CACHE BOOL "Whether to use the host system UART")
14set(RSS_USE_HOST_FLASH                      @RSS_USE_HOST_FLASH@ CACHE BOOL "Whether to use the host system flash")
15set(RSS_GPT_SUPPORT                         @RSS_GPT_SUPPORT@ CACHE BOOL "Whether to read a GPT header to find images")
16set(RSS_HAS_EXPANSION_PERIPHERALS           @RSS_HAS_EXPANSION_PERIPHERALS@ CACHE BOOL "Whether there are extra peripherals on the RSS subsystem")
17set(PLATFORM_HAS_PS_NV_OTP_COUNTERS         @PLATFORM_HAS_PS_NV_OTP_COUNTERS@ CACHE BOOL "Whether OTP counters will be used for PS")
18set(RSS_ENABLE_BRINGUP_HELPERS              @RSS_ENABLE_BRINGUP_HELPERS@ CACHE BOOL "Whether RSS bringup helpers are enabled")
19set(RSS_OTP_TRNG                            @RSS_OTP_TRNG@ CACHE BOOL "Whether to use the TRNG from the OTP")
20