Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | /* |
| 2 | * File: arch/blackfin/mm/blackfin_sram.h |
| 3 | * Based on: arch/blackfin/mm/blackfin_sram.c |
| 4 | * Author: Mike Frysinger |
| 5 | * |
| 6 | * Created: Aug 2006 |
| 7 | * Description: Local prototypes meant for internal use only |
| 8 | * |
| 9 | * Modified: |
| 10 | * Copyright 2006 Analog Devices Inc. |
| 11 | * |
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ |
| 13 | * |
| 14 | * This program is free software; you can redistribute it and/or modify |
| 15 | * it under the terms of the GNU General Public License as published by |
| 16 | * the Free Software Foundation; either version 2 of the License, or |
| 17 | * (at your option) any later version. |
| 18 | * |
| 19 | * This program is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | * GNU General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU General Public License |
| 25 | * along with this program; if not, see the file COPYING, or write |
| 26 | * to the Free Software Foundation, Inc., |
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 28 | */ |
| 29 | |
| 30 | #ifndef __BLACKFIN_SRAM_H__ |
| 31 | #define __BLACKFIN_SRAM_H__ |
| 32 | |
| 33 | extern void l1sram_init(void); |
| 34 | extern void l1_inst_sram_init(void); |
| 35 | extern void l1_data_sram_init(void); |
| 36 | extern void *l1sram_alloc(size_t); |
| 37 | |
| 38 | #endif |