First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / arm / mach-bcmring / include / csp / cache.h
blobcaa20e59db99a346b49c0fa7e53f78079a0a4a19
1 /*****************************************************************************
2 * Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
4 * Unless you and Broadcom execute a separate written software license
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
9 * Notwithstanding the above, under no circumstances may you combine this
10 * software in any way with any other Broadcom software provided under a
11 * license other than the GPL, without Broadcom's express prior written
12 * consent.
13 *****************************************************************************/
15 #ifndef CSP_CACHE_H
16 #define CSP_CACHE_H
18 /* ---- Include Files ---------------------------------------------------- */
20 #include <csp/stdint.h>
22 /* ---- Public Constants and Types --------------------------------------- */
24 #if defined(__KERNEL__) && !defined(STANDALONE)
25 #include <asm/cacheflush.h>
27 #define CSP_CACHE_FLUSH_ALL flush_cache_all()
29 #else
31 #define CSP_CACHE_FLUSH_ALL
33 #endif
35 #endif /* CSP_CACHE_H */