Path: blob/master/arch/arm/mach-bcmring/include/csp/cache.h
10820 views
/*****************************************************************************1* Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.2*3* Unless you and Broadcom execute a separate written software license4* agreement governing use of this software, this software is licensed to you5* under the terms of the GNU General Public License version 2, available at6* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").7*8* Notwithstanding the above, under no circumstances may you combine this9* software in any way with any other Broadcom software provided under a10* license other than the GPL, without Broadcom's express prior written11* consent.12*****************************************************************************/1314#ifndef CSP_CACHE_H15#define CSP_CACHE_H1617/* ---- Include Files ---------------------------------------------------- */1819#include <csp/stdint.h>2021/* ---- Public Constants and Types --------------------------------------- */2223#if defined(__KERNEL__) && !defined(STANDALONE)24#include <asm/cacheflush.h>2526#define CSP_CACHE_FLUSH_ALL flush_cache_all()2728#else2930#define CSP_CACHE_FLUSH_ALL3132#endif3334#endif /* CSP_CACHE_H */353637