mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
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>
This commit is contained in:
parent
a7448db482
commit
8f8a59c664
19
arch/avr32/mach-at32ap/include/mach/chip.h
Normal file
19
arch/avr32/mach-at32ap/include/mach/chip.h
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* AVR32 chip-specific definitions
|
||||
*
|
||||
* Copyright (C) 2008 Atmel Corporation
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#ifndef __ASM_AVR32_ARCH_CHIP_H__
|
||||
#define __ASM_AVR32_ARCH_CHIP_H__
|
||||
|
||||
#if defined(CONFIG_CPU_AT32AP700X)
|
||||
# include <mach/at32ap700x.h>
|
||||
#else
|
||||
# error Unknown chip type selected
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_AVR32_ARCH_CHIP_H__ */
|
Loading…
x
Reference in New Issue
Block a user