Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * include/asm-arm/arch-ixp4xx/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 |
| 21 | #define PCIBIOS_MIN_MEM 0x48000000 |
| 22 | |
| 23 | /* |
| 24 | * We override the standard dma-mask routines for bouncing. |
| 25 | */ |
| 26 | #define HAVE_ARCH_PCI_SET_DMA_MASK |
| 27 | |
| 28 | #define pcibios_assign_all_busses() 1 |
| 29 | |
| 30 | #if defined(CONFIG_CPU_IXP465) && !defined(__ASSEMBLY__) |
| 31 | extern unsigned int processor_id; |
| 32 | #define cpu_is_ixp465() ((processor_id & 0xffffffc0) == 0x69054200) |
| 33 | #else |
| 34 | #define cpu_is_ixp465() (0) |
| 35 | #endif |
| 36 | |
| 37 | /* Register locations and bits */ |
| 38 | #include "ixp4xx-regs.h" |
| 39 | |
| 40 | /* Platform helper functions and definitions */ |
| 41 | #include "platform.h" |
| 42 | |
| 43 | /* Platform specific details */ |
| 44 | #include "ixdp425.h" |
| 45 | #include "coyote.h" |
| 46 | #include "prpmc1100.h" |
| 47 | |
| 48 | #endif /* _ASM_ARCH_HARDWARE_H */ |