diff options
author | Marek Vasut <marex@denx.de> | 2016-11-25 23:32:22 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-11-30 16:13:17 +0100 |
commit | e7e0469c880f9b83ea577e52d7fea4ba928a212a (patch) | |
tree | 97fbcc22dfb2303f4608758c1011b789a0a7665d /arch/mips/include | |
parent | 4c2cb115163caa7ff60f5bcb072d2ae20385f508 (diff) | |
download | u-boot-imx-e7e0469c880f9b83ea577e52d7fea4ba928a212a.zip u-boot-imx-e7e0469c880f9b83ea577e52d7fea4ba928a212a.tar.gz u-boot-imx-e7e0469c880f9b83ea577e52d7fea4ba928a212a.tar.bz2 |
mips: Let cache.h be included from assembly source
Add ifdef __ASSEMBLY__ around the function prototype to let cache.h
be included from assembly code.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h index 669c362..83165d5 100644 --- a/arch/mips/include/asm/cache.h +++ b/arch/mips/include/asm/cache.h @@ -19,6 +19,7 @@ */ #define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN +#ifndef __ASSEMBLY__ /** * mips_cache_probe() - Probe the properties of the caches * @@ -27,5 +28,6 @@ * functions such as flush_cache may be called. */ void mips_cache_probe(void); +#endif #endif /* __MIPS_CACHE_H__ */ |