]> git.baikalelectronics.ru Git - kernel.git/commit
[AVR32] Provide more CPU information in /proc/cpuinfo and dmesg
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 7 Dec 2007 09:21:02 +0000 (10:21 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 25 Jan 2008 07:31:40 +0000 (08:31 +0100)
commit1affdec30eff5c8550e91fc7c26e665384965ab6
treea3a26fddcf6ffa0ffc8bda6d7e28ed9bd04aeb48
parent1af8b84d4cbfbceb9f89e0a36e592f8f2227b54e
[AVR32] Provide more CPU information in /proc/cpuinfo and dmesg

Add the following fields to /proc/cpuinfo:
  * chip type and revision (from the JTAG chip id)
  * cpu MHz (from clk_get_rate())
  * features (from the CONFIG0 register)

Also rename "cpu family" to "cpu arch" and "cpu type" to "cpu core" to
remove some ambiguity.

Show chip type and revision at bootup, and clarify that the other
kinds of IDs that we're already printing are for the cpu core and
architecture. Rename "AP7000" to "AP7" since that's the name of the
core.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/cpu.c
include/asm-avr32/processor.h