mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00

TZC is being replaced by MSF module on TC3. For fixing boot failure on TC3, don't enable TZC module on the TC3 platform. Change-Id: I4434cb28bf523be8dd882f5f8799223642822ee2 Signed-off-by: Tintu Thomas <tintu.thomas@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
27 lines
513 B
C
27 lines
513 B
C
/*
|
|
* Copyright (c) 2024, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <plat/arm/common/plat_arm.h>
|
|
#include <platform_def.h>
|
|
|
|
#if (TARGET_PLATFORM <= 2)
|
|
static const arm_tzc_regions_info_t tzc_regions[] = {
|
|
TC_TZC_REGIONS_DEF,
|
|
{}
|
|
};
|
|
#endif
|
|
|
|
/* Initialize the secure environment */
|
|
void plat_arm_security_setup(void)
|
|
{
|
|
#if (TARGET_PLATFORM <= 2)
|
|
unsigned int i;
|
|
|
|
for (i = 0U; i < TZC400_COUNT; i++) {
|
|
arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
|
|
}
|
|
#endif
|
|
}
|