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