]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite1fe1c57f96ca00525fb57e671720f45720e2896
tree2590a7013631f5915d2c80d0b749e54e26ff8520
parent6f7962774fda5089433b4b5f7a7eab4b257f9289
[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