diff options
author | Andrew Victor <andrew@sanpeople.com> | 2007-02-08 03:42:40 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-08 09:55:24 -0500 |
commit | b2c6561605da4802886cafe96432b8e2968e9edc (patch) | |
tree | 46991d838d08e6b7ed4ec3942a1bc7ea70b8280f /include/asm-arm/arch-at91/cpu.h | |
parent | d0760b3bc8ff9b34e3e2e166e2102548a24751b4 (diff) |
[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 762eb41aa675..9efde0dad249 100644 --- a/include/asm-arm/arch-at91/cpu.h +++ b/include/asm-arm/arch-at91/cpu.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #define ARCH_ID_AT91RM9200 0x09290780 | 20 | #define ARCH_ID_AT91RM9200 0x09290780 |
21 | #define ARCH_ID_AT91SAM9260 0x019803a0 | 21 | #define ARCH_ID_AT91SAM9260 0x019803a0 |
22 | #define ARCH_ID_AT91SAM9261 0x019703a0 | 22 | #define ARCH_ID_AT91SAM9261 0x019703a0 |
23 | #define ARCH_ID_AT91SAM9263 0x019607a0 | ||
23 | 24 | ||
24 | 25 | ||
25 | static inline unsigned long at91_cpu_identify(void) | 26 | static inline unsigned long at91_cpu_identify(void) |
@@ -46,4 +47,10 @@ static inline unsigned long at91_cpu_identify(void) | |||
46 | #define cpu_is_at91sam9261() (0) | 47 | #define cpu_is_at91sam9261() (0) |
47 | #endif | 48 | #endif |
48 | 49 | ||
50 | #ifdef CONFIG_ARCH_AT91SAM9263 | ||
51 | #define cpu_is_at91sam9263() (at91_cpu_identify() == ARCH_ID_AT91SAM9263) | ||
52 | #else | ||
53 | #define cpu_is_at91sam9263() (0) | ||
54 | #endif | ||
55 | |||
49 | #endif | 56 | #endif |