diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-02-08 09:42:40 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-08 14:55:24 +0000 |
commit | b2c6561605da4802886cafe96432b8e2968e9edc (patch) | |
tree | 46991d838d08e6b7ed4ec3942a1bc7ea70b8280f /include/asm-arm/arch-at91/cpu.h | |
parent | d0760b3bc8ff9b34e3e2e166e2102548a24751b4 (diff) | |
download | kernel_samsung_smdk4412-b2c6561605da4802886cafe96432b8e2968e9edc.zip kernel_samsung_smdk4412-b2c6561605da4802886cafe96432b8e2968e9edc.tar.gz kernel_samsung_smdk4412-b2c6561605da4802886cafe96432b8e2968e9edc.tar.bz2 |
[ARM] 4145/2: AT91: Add support for AT91SAM9263 processor
Add support for the Atmel AT91SAM9263 processor. It is similar to the
AT91SAM9260 but with more integrated peripherals, 5 GPIO banks, etc.
Original patch from Nicolas Ferre.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-at91/cpu.h')
-rw-r--r-- | include/asm-arm/arch-at91/cpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/cpu.h b/include/asm-arm/arch-at91/cpu.h index 762eb41..9efde0d 100644 --- a/include/asm-arm/arch-at91/cpu.h +++ b/include/asm-arm/arch-at91/cpu.h @@ -20,6 +20,7 @@ #define ARCH_ID_AT91RM9200 0x09290780 #define ARCH_ID_AT91SAM9260 0x019803a0 #define ARCH_ID_AT91SAM9261 0x019703a0 +#define ARCH_ID_AT91SAM9263 0x019607a0 static inline unsigned long at91_cpu_identify(void) @@ -46,4 +47,10 @@ static inline unsigned long at91_cpu_identify(void) #define cpu_is_at91sam9261() (0) #endif +#ifdef CONFIG_ARCH_AT91SAM9263 +#define cpu_is_at91sam9263() (at91_cpu_identify() == ARCH_ID_AT91SAM9263) +#else +#define cpu_is_at91sam9263() (0) +#endif + #endif |