blob: 9568b60cd40140c1968331666ea153b45c342e39 [file] [log] [blame]
Aditya Angadid61740b2020-11-19 18:05:33 +05301/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <plat/arm/common/plat_arm.h>
8#include <platform_def.h>
9
10
11static const arm_tzc_regions_info_t tzc_regions[] = {
12 ARM_TZC_REGIONS_DEF,
13 {}
14};
15
16/* Initialize the secure environment */
17void plat_arm_security_setup(void)
18{
19
20 int i;
21
22 for (i = 0; i < TZC400_COUNT; i++)
23 arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
24
25}