blob: 861a4ad658e54437f18f361d738f4e0ccd8341bd [file] [log] [blame]
Manish V Badarkhe20df29c2021-07-02 09:10:56 +01001/*
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +00002 * Copyright (c) 2021-2023, Arm Limited. All rights reserved.
Manish V Badarkhe20df29c2021-07-02 09:10:56 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef TRBE_H
8#define TRBE_H
9
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000010#if ENABLE_TRBE_FOR_NS
Manish V Badarkhe20df29c2021-07-02 09:10:56 +010011void trbe_enable(void);
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000012#else
Andre Przywaraa1c9ad12023-03-22 13:25:00 +000013static inline void trbe_enable(void)
Jayanth Dodderi Chidanand77b8b872023-03-01 15:35:28 +000014{
15}
16#endif /* ENABLE_TRBE_FOR_NS */
Manish V Badarkhe20df29c2021-07-02 09:10:56 +010017
18#endif /* TRBE_H */