4 * Copyright (c) 2005 blackfin.uclinux.org
6 * This file is based on
7 * asm/setup.h -- Definition of the Linux/Blackfin setup information
8 * Copyright Lineo, Inc 2001 Tony Kou
10 * See file CREDITS for list of people who contributed to this
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of
16 * the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
29 #ifndef _BLACKFIN_SETUP_H
30 #define _BLACKFIN_SETUP_H
32 #include <linux/config.h>
35 * Linux/Blackfin Architectures
43 extern unsigned long blackfin_machtype
;
46 #if defined(CONFIG_BFIN)
47 #define MACH_IS_BFIN (blackfin_machtype == MACH_BFIN)
51 #define MACH_TYPE (blackfin_machtype)
57 * CPU, FPU and MMU types
59 * Note: we don't need now:
64 extern unsigned long blackfin_cputype
;
66 extern unsigned long vme_brdtype
;
76 extern int blackfin_num_memory
; /* # of memory blocks found (and used) */
77 extern int blackfin_realnum_memory
; /* real # of memory blocks found */
78 extern struct mem_info blackfin_memory
[NUM_MEMINFO
]; /* memory description */
81 unsigned long addr
; /* physical address of memory chunk */
82 unsigned long size
; /* length of memory chunk (in bytes) */