[AVR32] Clean up cpu identification and add features bitmap
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 13 Mar 2007 14:30:38 +0000 (15:30 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 11:44:13 +0000 (13:44 +0200)
commit3b328c98093702c584692bffabd440800b383d73
tree2590a7013631f5915d2c80d0b749e54e26ff8520
parent535c806c26ef602d578792083df52b31803b961e
[AVR32] Clean up cpu identification and add features bitmap

Clean up the cpu identification code, using definitions from
<asm/sysreg.h> instead of hardcoded constants. Also, add a features
bitmap to struct avr32_cpuinfo to allow other code to make decisions
based upon what the running cpu is actually capable of.

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