Skip to contentSkip to conversation

avr32: add two new at91 to cpu.h definition

PATCH In review Nicolas Ferre 2 participants 3 messages Jul 6, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Inclusion in linux-2.6-arm.git/devel:

at91sam9g10: b784b7c03723891876c9053c589150a4062f9455
at91sam9g45: fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc

 arch/avr32/mach-at32ap/include/mach/cpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/avr32/mach-at32ap/include/mach/cpu.h +2 -0
index 44d0bfa..c253e9b 100644
@@ -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 */
Signature · 1 line
1.5.3.7
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Nicolas Ferre

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.

Quoted 5 lines

---
Inclusion in linux-2.6-arm.git/devel:

at91sam9g10: b784b7c03723891876c9053c589150a4062f9455
at91sam9g45: fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc

Do you want me to take this patch, or is it better if it goes in along the rest through the ARM tree?

Haavard

#2 lore raw

Haavard Skinnemoen :

Quoted 9 lines
Quoted 5 lines · Nicolas Ferre

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.

Quoted 8 lines
Quoted 5 lines

---
Inclusion in linux-2.6-arm.git/devel:

at91sam9g10: b784b7c03723891876c9053c589150a4062f9455
at91sam9g45: fddcc0ae58edefeb7ac1e460411d7dfbe8ebdacc

Do you want me to take this patch, or is it better if it goes in along the rest through the ARM tree?

You can take this patch as it will still go in linux-next.

I try to collect all patches that are related to those products introduction in linux-next (for 2.6.32).

Thanks Haavard. Bye,

Signature · 1 line
Nicolas Ferre