ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-ppc / mpc8260.h
1 /*
2  * Since there are many different boards and no standard configuration,
3  * we have a unique include file for each.  Rather than change every
4  * file that has to include MPC8260 configuration, they all include
5  * this one and the configuration switching is done here.
6  */
7 #ifdef __KERNEL__
8 #ifndef __ASM_PPC_MPC8260_H__
9 #define __ASM_PPC_MPC8260_H__
10
11 #include <linux/config.h>
12
13 #ifdef CONFIG_8260
14
15 #ifdef CONFIG_EST8260
16 #include <platforms/est8260.h>
17 #endif
18
19 #ifdef CONFIG_SBS8260
20 #include <platforms/sbs8260.h>
21 #endif
22
23 #ifdef CONFIG_RPX6
24 #include <platforms/rpxsuper.h>
25 #endif
26
27 #ifdef CONFIG_WILLOW
28 #include <platforms/willow.h>
29 #endif
30
31 #ifdef CONFIG_TQM8260
32 #include <platforms/tqm8260.h>
33 #endif
34
35 /* Make sure the memory translation stuff is there if PCI not used.
36  */
37 #ifndef _IO_BASE
38 #define _IO_BASE        0
39 #endif
40
41 #ifndef _ISA_MEM_BASE
42 #define _ISA_MEM_BASE   0
43 #endif
44
45 #ifndef PCI_DRAM_OFFSET
46 #define PCI_DRAM_OFFSET 0
47 #endif
48
49 /* Map 256MB I/O region
50  */
51 #ifndef IO_PHYS_ADDR
52 #define IO_PHYS_ADDR    0xe0000000
53 #endif
54 #ifndef IO_VIRT_ADDR
55 #define IO_VIRT_ADDR    IO_PHYS_ADDR
56 #endif
57
58 #ifndef __ASSEMBLY__
59 /* The "residual" data board information structure the boot loader
60  * hands to us.
61  */
62 extern unsigned char __res[];
63 #endif
64
65 #endif /* CONFIG_8260 */
66 #endif /* !__ASM_PPC_MPC8260_H__ */
67 #endif /* __KERNEL__ */