MIPS: Yosemite, Emma: Fix off-by-two in arcs_cmdline buffer size check
[linux-2.6/linux-mips.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 */