Haavard Skinnemoen | 964d219 | 2008-08-05 13:49:09 +0200 | [diff] [blame] | 1 | /* |
Alexandre Belloni | a31c353 | 2015-01-11 03:00:16 +0100 | [diff] [blame] | 2 | * AVR32 CPU identification |
Haavard Skinnemoen | 964d219 | 2008-08-05 13:49:09 +0200 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2007 Atmel Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | #ifndef __ASM_ARCH_CPU_H |
| 11 | #define __ASM_ARCH_CPU_H |
| 12 | |
| 13 | /* |
| 14 | * Only AT32AP7000 is defined for now. We can identify the specific |
| 15 | * chip at runtime, but I'm not sure if it's really worth it. |
| 16 | */ |
| 17 | #ifdef CONFIG_CPU_AT32AP700X |
| 18 | # define cpu_is_at32ap7000() (1) |
| 19 | #else |
| 20 | # define cpu_is_at32ap7000() (0) |
| 21 | #endif |
| 22 | |
Haavard Skinnemoen | 964d219 | 2008-08-05 13:49:09 +0200 | [diff] [blame] | 23 | #endif /* __ASM_ARCH_CPU_H */ |