/* * Copyright (C) 2017-2020 Alibaba Group Holding Limited * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __ASM_CACHE_H #define __ASM_CACHE_H #include /* * We use that value for aligning DMA buffers unless the board config has specified * an alternate cache line size. */ #ifdef CONFIG_SYS_CACHELINE_SIZE #define ARCH_DMA_MINALIGN CONFIG_SYS_CACHELINE_SIZE #else #define ARCH_DMA_MINALIGN 64 #endif #endif /* __ASM_CACHE_H */