rdv1_security.c 448 Bytes
Newer Older
1
2
3
4
5
6
/*
 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
#include <plat/arm/common/plat_arm.h>
8
9
#include <platform_def.h>

10
11
12
13
14
static const arm_tzc_regions_info_t tzc_regions[] = {
	ARM_TZC_REGIONS_DEF,
	{}
};

15
16
17
/* Initialize the secure environment */
void plat_arm_security_setup(void)
{
18
19
20
21
	int i;

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