[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)
commit281ef58ccf62eaa6c4e4b7e4c0a3ee6b52e84e5b
treea3a26fddcf6ffa0ffc8bda6d7e28ed9bd04aeb48
parent2853ce5ecefe9d9ca119f33db0c23a3f075e35d9
[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