blob: 1ac7cda4b43cbe635d689b29bde90da2c61b53ee [file] [log] [blame]
Manish V Badarkhe51a97112021-07-08 09:33:18 +01001/*
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +00002 * Copyright (c) 2021-2023, Arm Limited. All rights reserved.
Manish V Badarkhe51a97112021-07-08 09:33:18 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef TRF_H
8#define TRF_H
9
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000010#if ENABLE_TRF_FOR_NS
Boyan Karatotev6468d4a2023-02-16 15:12:45 +000011void trf_init_el3(void);
12void trf_init_el2_unused(void);
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000013#else
Boyan Karatotev6468d4a2023-02-16 15:12:45 +000014static inline void trf_init_el3(void)
15{
16}
17static inline void trf_init_el2_unused(void)
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000018{
19}
20#endif /* ENABLE_TRF_FOR_NS */
Manish V Badarkhe51a97112021-07-08 09:33:18 +010021
22#endif /* TRF_H */