xref: /rk3399_rockchip-uboot/arch/sandbox/include/asm/cache.h (revision eee479cf6a4046d25f8032c402355d9fc237fb70)
1 /*
2  * Copyright (c) 2011 The Chromium OS Authors.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef __SANDBOX_CACHE_H__
8 #define __SANDBOX_CACHE_H__
9 
10 /*
11  * For native compilation of the sandbox we should still align
12  * the contents of stack buffers to something reasonable.  The
13  * GCC macro __BIGGEST_ALIGNMENT__ is defined to be the maximum
14  * required alignment for any basic type.  This seems reasonable.
15  */
16 #define ARCH_DMA_MINALIGN	__BIGGEST_ALIGNMENT__
17 
18 #endif /* __SANDBOX_CACHE_H__ */
19