diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-04-04 17:20:54 -0600 |
---|---|---|
committer | root <root@traveler.zdomain.com> | 2007-04-04 17:20:54 -0600 |
commit | ca770fc70f62925f684768008ae50ce91d255637 (patch) | |
tree | a699be457f115d1db4238f7e85a86da0954def2b /include | |
parent | 3ac4e26b2cc43180661453851174f40a1292da09 (diff) |
Adds MX27 and MX31 support to arch ARM, including support for L2 cache
to the Linux kernel.
http://www.bitshrine.org/gpp/linux-2.6.19.2-mx-arch_arm.patch
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/cacheflush.h | 10 | ||||
-rw-r--r-- | include/asm-arm/mach/keypad.h | 28 |
2 files changed, 38 insertions, 0 deletions
diff --git a/include/asm-arm/cacheflush.h b/include/asm-arm/cacheflush.h index f0845646aacb..2eeee59ee4e6 100644 --- a/include/asm-arm/cacheflush.h +++ b/include/asm-arm/cacheflush.h @@ -426,4 +426,14 @@ extern void flush_dcache_page(struct page *); #endif +#ifndef CONFIG_CPU_CACHE_L210 +#define dmac_l2_inv_range(start, end) +#define dmac_l2_clean_range(start, end) +#define dmac_l2_flush_range(start, end) +#else +void dmac_l2_inv_range(dma_addr_t start, dma_addr_t end); +void dmac_l2_clean_range(dma_addr_t start, dma_addr_t end); +void dmac_l2_flush_range(dma_addr_t start, dma_addr_t end); +#endif + #endif diff --git a/include/asm-arm/mach/keypad.h b/include/asm-arm/mach/keypad.h new file mode 100644 index 000000000000..cfee65ab044a --- /dev/null +++ b/include/asm-arm/mach/keypad.h @@ -0,0 +1,28 @@ +/* + * include/asm-arm/mach/keypad.h + * + * Generic Keypad struct + * + * Author: Armin Kuster <Akuster@mvista.com> + * + * 2005 (c) MontaVista Software, Inc. This file is licensed under + * the terms of the GNU General Public License version 2. This program + * is licensed "as is" without any warranty of any kind, whether express + * or implied. + */ + +#ifndef __ASM_MACH_KEYPAD_H_ +#define __ASM_MACH_KEYPAD_H_ + +#include <linux/input.h> + +struct keypad_data { + u16 rowmax; + u16 colmax; + u32 irq; + u16 delay; + u16 learning; + u16 *matrix; +}; + +#endif /* __ARM_MACH_KEYPAD_H_ */ |