xref: /rk3399_ARM-atf/include/lib/extensions/cpa2.h (revision 156943e1e1605096fe43daf8803d6388197fe08f)
1*a1032bebSJohn Powell /*
2*a1032bebSJohn Powell  * Copyright (c) 2025, Arm Limited. All rights reserved.
3*a1032bebSJohn Powell  *
4*a1032bebSJohn Powell  * SPDX-License-Identifier: BSD-3-Clause
5*a1032bebSJohn Powell  */
6*a1032bebSJohn Powell 
7*a1032bebSJohn Powell #ifndef CPA2_H
8*a1032bebSJohn Powell #define CPA2_H
9*a1032bebSJohn Powell 
10*a1032bebSJohn Powell #if ENABLE_FEAT_CPA2
11*a1032bebSJohn Powell void cpa2_enable_el3(void);
12*a1032bebSJohn Powell #else
cpa2_enable_el3(void)13*a1032bebSJohn Powell static inline void cpa2_enable_el3(void)
14*a1032bebSJohn Powell {
15*a1032bebSJohn Powell }
16*a1032bebSJohn Powell #endif
17*a1032bebSJohn Powell 
18*a1032bebSJohn Powell #endif /* CPA2_H */
19