blob: 44d0bfa1f4095b7e531b653d43a9a7f6d6a27cb2 [file] [log] [blame]
Haavard Skinnemoene7498282007-05-09 02:33:47 -07001/*
2 * AVR32 and (fake) AT91 CPU identification
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 */
Haavard Skinnemoen438ff3f2007-10-29 15:28:07 +010017#ifdef CONFIG_CPU_AT32AP700X
Haavard Skinnemoene7498282007-05-09 02:33:47 -070018# define cpu_is_at32ap7000() (1)
19#else
20# define cpu_is_at32ap7000() (0)
21#endif
22
23/*
24 * Since this is AVR32, we will never run on any AT91 CPU. But these
25 * definitions may reduce clutter in common drivers.
26 */
27#define cpu_is_at91rm9200() (0)
28#define cpu_is_at91sam9xe() (0)
29#define cpu_is_at91sam9260() (0)
30#define cpu_is_at91sam9261() (0)
31#define cpu_is_at91sam9263() (0)
Andrew Victor877d7722007-05-11 20:49:56 +010032#define cpu_is_at91sam9rl() (0)
Andrew Victor2b3b3512008-01-24 15:10:39 +010033#define cpu_is_at91cap9() (0)
Haavard Skinnemoene7498282007-05-09 02:33:47 -070034
35#endif /* __ASM_ARCH_CPU_H */