]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/asm-sh/processor.h
sh: Nopped out p3_cache_init() on SH-5 also.
[net-next-2.6.git] / include / asm-sh / processor.h
CommitLineData
1da177e4
LT
1#ifndef __ASM_SH_PROCESSOR_H
2#define __ASM_SH_PROCESSOR_H
1da177e4 3
76168c21
PM
4#include <asm/cpu-features.h>
5
1da177e4
LT
6/*
7 * CPU type and hardware bug flags. Kept separately for each CPU.
8 *
9 * Each one of these also needs a CONFIG_CPU_SUBTYPE_xxx entry
de02797a 10 * in arch/sh/mm/Kconfig, as well as an entry in arch/sh/kernel/setup.c
1da177e4
LT
11 * for parsing the subtype in get_cpu_subtype().
12 */
13enum cpu_type {
14 /* SH-2 types */
b9601c5e 15 CPU_SH7619,
b229632a
YS
16
17 /* SH-2A types */
18 CPU_SH7206,
1da177e4
LT
19
20 /* SH-3 types */
e5723e0e
PM
21 CPU_SH7705, CPU_SH7706, CPU_SH7707,
22 CPU_SH7708, CPU_SH7708S, CPU_SH7708R,
9465a54f 23 CPU_SH7709, CPU_SH7709A, CPU_SH7710, CPU_SH7712,
3ea6bc3d 24 CPU_SH7720, CPU_SH7729,
1da177e4
LT
25
26 /* SH-4 types */
27 CPU_SH7750, CPU_SH7750S, CPU_SH7750R, CPU_SH7751, CPU_SH7751R,
f9669187 28 CPU_SH7760, CPU_SH4_202, CPU_SH4_501,
b552c7e8
PM
29
30 /* SH-4A types */
2b1bd1ac 31 CPU_SH7770, CPU_SH7780, CPU_SH7781, CPU_SH7785, CPU_SHX3,
41504c39
PM
32
33 /* SH4AL-DSP types */
870e8a24 34 CPU_SH7343, CPU_SH7722,
1da177e4 35
af3c7dfe
PM
36 /* SH-5 types */
37 CPU_SH5_101, CPU_SH5_103,
38
1da177e4
LT
39 /* Unknown subtype */
40 CPU_SH_NONE
41};
42
af3c7dfe
PM
43#ifdef CONFIG_SUPERH32
44# include "processor_32.h"
19f9a34f 45#else
af3c7dfe 46# include "processor_64.h"
19f9a34f
PM
47#endif
48
11c19656
PM
49/* arch/sh/kernel/setup.c */
50const char *get_cpu_subtype(struct sh_cpuinfo *c);
51
1da177e4 52#endif /* __ASM_SH_PROCESSOR_H */