diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-01-27 01:05:20 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-01-27 01:05:20 +0000 |
commit | 546db14ee74118296f425f3b91634fb767d67290 (patch) | |
tree | 22b613a3da8d4bf663eec5e155af01b87fdf9094 /include/asm-sh/bugs.h | |
parent | 1e25e41c4f5474e14452094492dbc169b800e4c8 (diff) |
Merge with Linux 2.3.23. The new bootmem stuff has broken various
platforms. At this time I've only verified that IP22 support compiles
and IP27 actually works.
Diffstat (limited to 'include/asm-sh/bugs.h')
-rw-r--r-- | include/asm-sh/bugs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-sh/bugs.h b/include/asm-sh/bugs.h index 4c20b768d..99728234a 100644 --- a/include/asm-sh/bugs.h +++ b/include/asm-sh/bugs.h @@ -16,5 +16,23 @@ static void __init check_bugs(void) { + extern unsigned long loops_per_sec; + + cpu_data->loops_per_sec = loops_per_sec; + + switch (cpu_data->type) { + case CPU_SH7708: + printk("CPU: SH7708/SH7709\n"); + break; + case CPU_SH7729: + printk("CPU: SH7709A/SH7729\n"); + break; + case CPU_SH7750: + printk("CPU: SH7750\n"); + break; + default: + printk("CPU: ??????\n"); + break; + } } #endif /* __ASM_SH_BUGS_H */ |