blob: 1247db8605577f2873553bd92f23d3e0f8da0edd [file] [log] [blame]
Aditya Angadie6508952019-07-21 22:13:45 +05301/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Suyash Pathak30b20142020-02-12 10:08:55 +05307#include <plat/arm/common/plat_arm.h>
Aditya Angadie6508952019-07-21 22:13:45 +05308#include <platform_def.h>
9
Suyash Pathak30b20142020-02-12 10:08:55 +053010static const arm_tzc_regions_info_t tzc_regions[] = {
11 ARM_TZC_REGIONS_DEF,
12 {}
13};
14
Aditya Angadie6508952019-07-21 22:13:45 +053015/* Initialize the secure environment */
16void plat_arm_security_setup(void)
17{
Suyash Pathak30b20142020-02-12 10:08:55 +053018 int i;
19
20 for (i = 0; i < TZC400_COUNT; i++)
21 arm_tzc400_setup(TZC400_BASE(i), tzc_regions);
Aditya Angadie6508952019-07-21 22:13:45 +053022}