treewide: Move device_tree to commonlib
[coreboot2.git] / payloads / libpayload / include / mock / arch / cache.h
blob1e71d5e0e290c08017cadc89c51d850be7d47cbf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __ARCH_CACHE_H__
4 #define __ARCH_CACHE_H__
6 /* No support for cache in the mock architecture */
8 #define dmb()
9 #define dsb()
10 #define dcache_clean_all()
11 #define dcache_clean_by_mva(addr, len)
12 #define dcache_invalidate_all()
13 #define dcache_invalidate_by_mva(addr, len)
14 #define dcache_clean_invalidate_all()
15 #define dcache_clean_invalidate_by_mva(addr, len)
16 #define cache_sync_instructions()
18 #endif /* __ARCH_CACHE_H__ */