Explorar o código

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>
Nicolas Ferre %!s(int64=16) %!d(string=hai) anos
pai
achega
2f5d46d2f6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/avr32/mach-at32ap/include/mach/cpu.h

+ 2 - 0
arch/avr32/mach-at32ap/include/mach/cpu.h

@@ -31,5 +31,7 @@
 #define cpu_is_at91sam9263()	(0)
 #define cpu_is_at91sam9263()	(0)
 #define cpu_is_at91sam9rl()	(0)
 #define cpu_is_at91sam9rl()	(0)
 #define cpu_is_at91cap9()	(0)
 #define cpu_is_at91cap9()	(0)
+#define cpu_is_at91sam9g10()	(0)
+#define cpu_is_at91sam9g45()	(0)
 
 
 #endif /* __ASM_ARCH_CPU_H */
 #endif /* __ASM_ARCH_CPU_H */