trf.h 370 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2021-2023, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef TRF_H
  7. #define TRF_H
  8. #if ENABLE_TRF_FOR_NS
  9. void trf_init_el3(void);
  10. void trf_init_el2_unused(void);
  11. #else
  12. static inline void trf_init_el3(void)
  13. {
  14. }
  15. static inline void trf_init_el2_unused(void)
  16. {
  17. }
  18. #endif /* ENABLE_TRF_FOR_NS */
  19. #endif /* TRF_H */