You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
446 B
24 lines
446 B
4 months ago
|
/*
|
||
|
* Copyright (c) 2020, Arm Limited. All rights reserved.
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
*/
|
||
|
|
||
|
#include <plat/arm/common/plat_arm.h>
|
||
|
#include <platform_def.h>
|
||
|
|
||
|
static const arm_tzc_regions_info_t tzc_regions[] = {
|
||
|
TC0_TZC_REGIONS_DEF,
|
||
|
{}
|
||
|
};
|
||
|
|
||
|
/* Initialize the secure environment */
|
||
|
void plat_arm_security_setup(void)
|
||
|
{
|
||
|
unsigned int i;
|
||
|
|
||
|
for (i = 0U; i < TZC400_COUNT; i++) {
|
||
|
arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
|
||
|
}
|
||
|
}
|