diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-05 07:32:05 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-08 06:41:56 -0400 |
commit | 8f8a59c664e976f0c32d7d4550fd99dca7c4ef7b (patch) | |
tree | 256266c048b37b47f75758dc2c7b132c15e8daab /arch/avr32/mach-at32ap | |
parent | a7448db4826efb097e94f601f4cd9b37053e81bf (diff) |
avr32: Introduce <mach/chip.h>
This file includes the appropriate chip-specific header with MMIO, IRQ
and GPIO definitions used by the platform code. It may also be used to
provide inline GPIO accessors for drivers that are willing to sacrifice
portability for faster bitbanging.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap')
-rw-r--r-- | arch/avr32/mach-at32ap/include/mach/chip.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/chip.h b/arch/avr32/mach-at32ap/include/mach/chip.h new file mode 100644 index 000000000000..5efca6da6acb --- /dev/null +++ b/arch/avr32/mach-at32ap/include/mach/chip.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * AVR32 chip-specific definitions | ||
3 | * | ||
4 | * Copyright (C) 2008 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_AVR32_ARCH_CHIP_H__ | ||
11 | #define __ASM_AVR32_ARCH_CHIP_H__ | ||
12 | |||
13 | #if defined(CONFIG_CPU_AT32AP700X) | ||
14 | # include <mach/at32ap700x.h> | ||
15 | #else | ||
16 | # error Unknown chip type selected | ||
17 | #endif | ||
18 | |||
19 | #endif /* __ASM_AVR32_ARCH_CHIP_H__ */ | ||