xref: /rk3399_ARM-atf/include/lib/extensions/cpa2.h (revision a1032beb656d78d1cffc97fa64c961d098b23b48)
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
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