aboutsummaryrefslogtreecommitdiffstats
path: root/plat/arm/board/rdv1/rdv1_security.c
blob: 1247db8605577f2873553bd92f23d3e0f8da0edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2020, ARM Limited and Contributors. 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[] = {
	ARM_TZC_REGIONS_DEF,
	{}
};

/* Initialize the secure environment */
void plat_arm_security_setup(void)
{
	int i;

	for (i = 0; i < TZC400_COUNT; i++)
		arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
}