aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcmring/include/csp/cache.h
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-08-07 15:03:40 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 11:01:43 -0400
commit9133760f4b0c0628d45532aad17f59896cd7b57f (patch)
tree399a32457cab7ade4c82044775cf666ee768aea6 /arch/arm/mach-bcmring/include/csp/cache.h
parent7bab8bfc7f1060e3ab4bc0a90813a9338e6994b9 (diff)
ARM: 5652/1: bcmring: add misc headers for csp code
add misc wrapper headers for csp code add ddrc register header file Signed-off-by: Leo Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-bcmring/include/csp/cache.h')
-rw-r--r--arch/arm/mach-bcmring/include/csp/cache.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/mach-bcmring/include/csp/cache.h b/arch/arm/mach-bcmring/include/csp/cache.h
new file mode 100644
index 000000000000..caa20e59db99
--- /dev/null
+++ b/arch/arm/mach-bcmring/include/csp/cache.h
@@ -0,0 +1,35 @@
1/*****************************************************************************
2* Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
3*
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").
8*
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*****************************************************************************/
14
15#ifndef CSP_CACHE_H
16#define CSP_CACHE_H
17
18/* ---- Include Files ---------------------------------------------------- */
19
20#include <csp/stdint.h>
21
22/* ---- Public Constants and Types --------------------------------------- */
23
24#if defined(__KERNEL__) && !defined(STANDALONE)
25#include <asm/cacheflush.h>
26
27#define CSP_CACHE_FLUSH_ALL flush_cache_all()
28
29#else
30
31#define CSP_CACHE_FLUSH_ALL
32
33#endif
34
35#endif /* CSP_CACHE_H */