spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / mach-ixp4xx / include / mach / hardware.h
blobc30e7e923a73a2337b9a68de6eeea2cf1a39b0a0
1 /*
2 * arch/arm/mach-ixp4xx/include/mach/hardware.h
4 * Copyright (C) 2002 Intel Corporation.
5 * Copyright (C) 2003-2004 MontaVista Software, Inc.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
14 * Hardware definitions for IXP4xx based systems
17 #ifndef __ASM_ARCH_HARDWARE_H__
18 #define __ASM_ARCH_HARDWARE_H__
20 #ifdef CONFIG_IXP4XX_INDIRECT_PCI
21 #define PCIBIOS_MAX_MEM 0x4FFFFFFF
22 #else
23 #define PCIBIOS_MAX_MEM 0x4BFFFFFF
24 #endif
26 #define ARCH_HAS_DMA_SET_COHERENT_MASK
28 /* Register locations and bits */
29 #include "ixp4xx-regs.h"
31 #ifndef __ASSEMBLER__
32 #include <mach/cpu.h>
33 #endif
35 /* Platform helper functions and definitions */
36 #include "platform.h"
38 #endif /* _ASM_ARCH_HARDWARE_H */