blob: cf62b69cb69a12b42e18dcaace44cb82287f28d3 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 *
3 * Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
4 *
5 * Module name: ibm4xx.h
6 *
7 * Description:
8 * A generic include file which pulls in appropriate include files
9 * for specific board types based on configuration settings.
10 *
11 */
12
13#ifdef __KERNEL__
14#ifndef __ASM_IBM4XX_H__
15#define __ASM_IBM4XX_H__
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#include <asm/types.h>
18
19#ifdef CONFIG_40x
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#if defined(CONFIG_BUBINGA)
22#include <platforms/4xx/bubinga.h>
23#endif
24
25#if defined(CONFIG_CPCI405)
26#include <platforms/4xx/cpci405.h>
27#endif
28
29#if defined(CONFIG_EP405)
30#include <platforms/4xx/ep405.h>
31#endif
32
Linus Torvalds1da177e2005-04-16 15:20:36 -070033#if defined(CONFIG_REDWOOD_5)
34#include <platforms/4xx/redwood5.h>
35#endif
36
37#if defined(CONFIG_REDWOOD_6)
38#include <platforms/4xx/redwood6.h>
39#endif
40
41#if defined(CONFIG_SYCAMORE)
42#include <platforms/4xx/sycamore.h>
43#endif
44
45#if defined(CONFIG_WALNUT)
46#include <platforms/4xx/walnut.h>
47#endif
48
49#if defined(CONFIG_XILINX_ML300)
50#include <platforms/4xx/xilinx_ml300.h>
51#endif
52
Grant C. Likely909aeca2006-01-19 01:13:37 -070053#if defined(CONFIG_XILINX_ML403)
54#include <platforms/4xx/xilinx_ml403.h>
55#endif
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057#ifndef __ASSEMBLY__
58
59#ifdef CONFIG_40x
60/*
61 * The "residual" board information structure the boot loader passes
62 * into the kernel.
63 */
64extern bd_t __res;
65#endif
66
67void ppc4xx_setup_arch(void);
68void ppc4xx_map_io(void);
69void ppc4xx_init_IRQ(void);
70void ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5,
71 unsigned long r6, unsigned long r7);
72#endif
73
74#ifndef PPC4xx_MACHINE_NAME
75#define PPC4xx_MACHINE_NAME "Unidentified 4xx class"
76#endif
77
78
79/* IO_BASE is for PCI I/O.
80 * ISA not supported, just here to resolve copilation.
81 */
82
83#ifndef _IO_BASE
84#define _IO_BASE 0xe8000000 /* The PCI address window */
85#define _ISA_MEM_BASE 0
86#define PCI_DRAM_OFFSET 0
87#endif
88
89#elif CONFIG_44x
90
Matt Porterc9cf73a2005-07-31 22:34:52 -070091#if defined(CONFIG_BAMBOO)
92#include <platforms/4xx/bamboo.h>
93#endif
94
Linus Torvalds1da177e2005-04-16 15:20:36 -070095#if defined(CONFIG_EBONY)
96#include <platforms/4xx/ebony.h>
97#endif
98
99#if defined(CONFIG_LUAN)
100#include <platforms/4xx/luan.h>
101#endif
102
Roland Dreier90eb2662005-11-07 00:58:14 -0800103#if defined(CONFIG_YUCCA)
104#include <platforms/4xx/yucca.h>
105#endif
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107#if defined(CONFIG_OCOTEA)
108#include <platforms/4xx/ocotea.h>
109#endif
110
111#ifndef __ASSEMBLY__
112#ifdef CONFIG_40x
113/*
114 * The "residual" board information structure the boot loader passes
115 * into the kernel.
116 */
117extern bd_t __res;
118#endif
119#endif
120#endif /* CONFIG_40x */
121
122#endif /* __ASM_IBM4XX_H__ */
123#endif /* __KERNEL__ */