The following commit has been merged in the linux branch: commit 2f5d46d2f669a6d0083e50f457ce4e32fb90568c Author: Nicolas Ferre nicolas.ferre@atmel.com Date: Mon Jul 6 12:15:12 2009 +0200
avr32: add two new at91 to cpu.h definition
Somme common drivers will need those at91 cpu_is_xxx() definitions. As at91sam9g10 and at91sam9g45 are on the way to linus' tree, here is the patch that adds those chips to cpu.h in AVR32 architecture.
Signed-off-by: Nicolas Ferre nicolas.ferre@atmel.com Signed-off-by: Haavard Skinnemoen haavard.skinnemoen@atmel.com
diff --git a/arch/avr32/mach-at32ap/include/mach/cpu.h b/arch/avr32/mach-at32ap/include/mach/cpu.h index 44d0bfa..c253e9b 100644 --- a/arch/avr32/mach-at32ap/include/mach/cpu.h +++ b/arch/avr32/mach-at32ap/include/mach/cpu.h @@ -31,5 +31,7 @@ #define cpu_is_at91sam9263() (0) #define cpu_is_at91sam9rl() (0) #define cpu_is_at91cap9() (0) +#define cpu_is_at91sam9g10() (0) +#define cpu_is_at91sam9g45() (0)
#endif /* __ASM_ARCH_CPU_H */