blob: c80d5dd6f3f8ff0cab51d2c987436143f20c9350 [file] [log] [blame]
Sheetal Tigadoli13680c92019-12-13 10:39:06 +05301/*
2 * Copyright (c) 2015-2020, Broadcom
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <stdint.h>
8
9#include <common/debug.h>
10#include <lib/mmio.h>
11
12#include <cmn_sec.h>
13
14#pragma weak plat_tz_master_default_cfg
15#pragma weak plat_tz_sdio_ns_master_set
16#pragma weak plat_tz_usb_ns_master_set
17
18void plat_tz_master_default_cfg(void)
19{
20 /* This function should be implemented in the platform side. */
21 ERROR("%s: TZ CONFIGURATION NOT SET!!!\n", __func__);
22}
23
24void plat_tz_sdio_ns_master_set(uint32_t ns)
25{
26 /* This function should be implemented in the platform side. */
27 ERROR("%s: TZ CONFIGURATION NOT SET!!!\n", __func__);
28}
29
30void plat_tz_usb_ns_master_set(uint32_t ns)
31{
32 /* This function should be implemented in the platform side. */
33 ERROR("%s: TZ CONFIGURATION NOT SET!!!\n", __func__);
34}
35
36void tz_master_default_cfg(void)
37{
38 plat_tz_master_default_cfg();
39}
40
41void tz_sdio_ns_master_set(uint32_t ns)
42{
43 plat_tz_sdio_ns_master_set(ns);
44}
45
46void tz_usb_ns_master_set(uint32_t ns)
47{
48 plat_tz_usb_ns_master_set(ns);
49}