WIP FPC-III support
[linux/fpc-iii.git] / arch / openrisc / include / asm / cpuinfo.h
blob5e4744153d0ec57b4e4c6b3073163613bbaf4c3f
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * OpenRISC Linux
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
7 * declaration.
9 * OpenRISC implementation:
10 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
12 * et al.
15 #ifndef __ASM_OPENRISC_CPUINFO_H
16 #define __ASM_OPENRISC_CPUINFO_H
18 struct cpuinfo_or1k {
19 u32 clock_frequency;
21 u32 icache_size;
22 u32 icache_block_size;
23 u32 icache_ways;
25 u32 dcache_size;
26 u32 dcache_block_size;
27 u32 dcache_ways;
29 u16 coreid;
32 extern struct cpuinfo_or1k cpuinfo_or1k[NR_CPUS];
33 extern void setup_cpuinfo(void);
35 #endif /* __ASM_OPENRISC_CPUINFO_H */