diff options
author | Franck JULLIEN <franck.jullien@gmail.com> | 2011-03-23 22:07:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-03-30 23:22:35 +0200 |
commit | ddd06e264a2f26381811d02d160f4aa708035ac3 (patch) | |
tree | abec20ebbf4aff694895117e0631ec27b74fd45a /arch/nios2/include/asm/cache.h | |
parent | 4b4958dbb73e6fb553aaf91d539ff3e22bfe9e40 (diff) | |
download | barebox-ddd06e264a2f26381811d02d160f4aa708035ac3.tar.gz barebox-ddd06e264a2f26381811d02d160f4aa708035ac3.tar.xz |
Add Nios2 arch support to barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/include/asm/cache.h')
-rw-r--r-- | arch/nios2/include/asm/cache.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/cache.h b/arch/nios2/include/asm/cache.h new file mode 100644 index 0000000000..d9de8f999a --- /dev/null +++ b/arch/nios2/include/asm/cache.h @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2003 Microtronix Datacom Ltd. + * Copyright (C) 2000-2002 Greg Ungerer <gerg@snapgear.com> + * + * Ported from m68knommu. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_NIOS2_CACHEFLUSH_H +#define _ASM_NIOS2_CACHEFLUSH_H + +void flush_cache_all(void); +void flush_dcache_all(void); +void flush_icache_all(void); +void flush_icache_range(unsigned long start, unsigned long end); +void flush_dcache_range(unsigned long start, unsigned long end); + +#endif /* _ASM_NIOS2_CACHEFLUSH_H */ |