Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-ixp4xx/include/mach/hardware.h |
| 3 | * |
| 4 | * Copyright (C) 2002 Intel Corporation. |
| 5 | * Copyright (C) 2003-2004 MontaVista Software, Inc. |
| 6 | * |
| 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. |
| 10 | * |
| 11 | */ |
| 12 | |
| 13 | /* |
| 14 | * Hardware definitions for IXP4xx based systems |
| 15 | */ |
| 16 | |
| 17 | #ifndef __ASM_ARCH_HARDWARE_H__ |
| 18 | #define __ASM_ARCH_HARDWARE_H__ |
| 19 | |
| 20 | #define PCIBIOS_MIN_IO 0x00001000 |
Krzysztof HaĆasa | ed5b9fa | 2009-11-15 18:02:10 +0100 | [diff] [blame] | 21 | #ifdef CONFIG_IXP4XX_INDIRECT_PCI |
| 22 | #define PCIBIOS_MIN_MEM 0x10000000 /* 1 GB of indirect PCI MMIO space */ |
| 23 | #define PCIBIOS_MAX_MEM 0x4FFFFFFF |
| 24 | #else |
| 25 | #define PCIBIOS_MIN_MEM 0x48000000 /* 64 MB of PCI MMIO space */ |
| 26 | #define PCIBIOS_MAX_MEM 0x4BFFFFFF |
| 27 | #endif |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 28 | |
FUJITA Tomonori | 710224f | 2010-09-22 13:04:55 -0700 | [diff] [blame] | 29 | #define ARCH_HAS_DMA_SET_COHERENT_MASK |
| 30 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 31 | #define pcibios_assign_all_busses() 1 |
| 32 | |
| 33 | /* Register locations and bits */ |
| 34 | #include "ixp4xx-regs.h" |
| 35 | |
| 36 | #ifndef __ASSEMBLER__ |
| 37 | #include <mach/cpu.h> |
| 38 | #endif |
| 39 | |
| 40 | /* Platform helper functions and definitions */ |
| 41 | #include "platform.h" |
| 42 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 43 | #endif /* _ASM_ARCH_HARDWARE_H */ |