blob: 6acb69c95ef9cfebf262034fc7a0c1998a410420 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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
Kenneth Tanad1b4722005-10-18 07:51:35 +010030#if defined(CONFIG_CPU_IXP46X) && !defined(__ASSEMBLY__)
Linus Torvalds1da177e2005-04-16 15:20:36 -070031extern 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"
Alessandro Zummoa7918f32005-11-10 14:05:04 +000047#include "nslu2.h"
Rod Whitby3145d8a2006-01-04 17:17:11 +000048#include "nas100d.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070049
50#endif /* _ASM_ARCH_HARDWARE_H */