Saivardhan Thatikonda | c77ba9c | 2025-03-05 14:18:37 +0000 | [diff] [blame] | 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 | ||||
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*/ |