Aubrey Li | 7158ebd | 2007-04-05 18:34:06 +0800 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - prototypes for cache handling functions. |
| 3 | * |
| 4 | * Copyright (c) 2005-2007 Analog Devices Inc. |
| 5 | * |
| 6 | * (C) Copyright 2000-2004 |
| 7 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 8 | * |
| 9 | * See file CREDITS for list of people who contributed to this |
| 10 | * project. |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation; either version 2 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program; if not, see the file COPYING, or write |
| 24 | * to the Free Software Foundation, Inc., |
| 25 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 26 | */ |
| 27 | |
| 28 | #ifndef _LIB_BLACKFIN_CACHE_H_ |
| 29 | #define _LIB_BLACKFIN_CACHE_H_ |
| 30 | |
| 31 | extern void blackfin_icache_flush_range(const void *, const void *); |
| 32 | extern void blackfin_dcache_flush_range(const void *, const void *); |
| 33 | extern void blackfin_dcache_invalidate_range(const void *, const void *); |
| 34 | |
| 35 | #endif |