2009-07-06 09:13:56

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
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(-)

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 */
--
1.5.3.7


2009-07-06 09:20:14

by Haavard Skinnemoen

[permalink] [raw]
Subject: Re: [PATCH] avr32: add two new at91 to cpu.h definition

Nicolas Ferre wrote:
> 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 <[email protected]>

Acked-by: Haavard Skinnemoen <[email protected]>

> ---
> 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

2009-07-06 09:40:04

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] avr32: add two new at91 to cpu.h definition

Haavard Skinnemoen :
> Nicolas Ferre wrote:
>> 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 <[email protected]>
>
> Acked-by: Haavard Skinnemoen <[email protected]>
>
>> ---
>> 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,
--
Nicolas Ferre