1#------------------------------------------------------------------------------- 2# Copyright (c) 2020-2023, Arm Limited. All rights reserved. 3# Copyright (c) 2022 Cypress Semiconductor Corporation (an Infineon company) 4# or an affiliate of Cypress Semiconductor Corporation. All rights reserved. 5# 6# SPDX-License-Identifier: BSD-3-Clause 7# 8#------------------------------------------------------------------------------- 9 10# The MUSCA_S1 has a CryptoCell-312 as an accelerator. 11set(CRYPTO_HW_ACCELERATOR ON CACHE BOOL "Whether to enable the crypto hardware accelerator on supported platforms") 12 13set(PLATFORM_GPLED_ENABLED OFF CACHE BOOL "Use the general purpose LEDs on the platform board") 14 15if(BL2) 16 set(BL2_TRAILER_SIZE 0x800 CACHE STRING "Trailer size") 17else() 18 #No header if no bootloader, but keep IMAGE_CODE_SIZE the same 19 set(BL2_TRAILER_SIZE 0xC00 CACHE STRING "Trailer size") 20endif() 21 22# Platform-specific configurations 23set(CONFIG_TFM_USE_TRUSTZONE ON) 24set(TFM_MULTI_CORE_TOPOLOGY OFF) 25