xref: /rk3399_ARM-atf/plat/amd/versal2/include/plat_ocm_coherency.h (revision 069232f553c7dd4bb83e206ec64eed583d9cb1b1)
1 /*
2  * Copyright (c) 2025, Advanced Micro Devices, Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef PLAT_OCM_COHERENCY_H
7 #define PLAT_OCM_COHERENCY_H
8 
9 #define COHERENCY_CHECK_NOT_SUPPORTED	-1
10 
11 #if (DEBUG == 1)
12 int32_t check_ocm_coherency(void);
13 #else
check_ocm_coherency(void)14 static inline int32_t check_ocm_coherency(void)
15 {
16 	return COHERENCY_CHECK_NOT_SUPPORTED;
17 }
18 #endif
19 
20 #endif/*PLAT_OCM_COHERENCY_H*/
21