Manish V Badarkhe | 20df29c | 2021-07-02 09:10:56 +0100 | [diff] [blame] | 1 | /* |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 2 | * Copyright (c) 2021-2023, Arm Limited. All rights reserved. |
Manish V Badarkhe | 20df29c | 2021-07-02 09:10:56 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef TRBE_H |
| 8 | #define TRBE_H |
| 9 | |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 10 | #if ENABLE_TRBE_FOR_NS |
Manish V Badarkhe | 20df29c | 2021-07-02 09:10:56 +0100 | [diff] [blame] | 11 | void trbe_enable(void); |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 12 | #else |
Andre Przywara | a1c9ad1 | 2023-03-22 13:25:00 +0000 | [diff] [blame] | 13 | static inline void trbe_enable(void) |
Jayanth Dodderi Chidanand | 77b8b87 | 2023-03-01 15:35:28 +0000 | [diff] [blame] | 14 | { |
| 15 | } |
| 16 | #endif /* ENABLE_TRBE_FOR_NS */ |
Manish V Badarkhe | 20df29c | 2021-07-02 09:10:56 +0100 | [diff] [blame] | 17 | |
| 18 | #endif /* TRBE_H */ |