1/*
2 * BK Id: %F% %I% %G% %U% %#%
3 */
4
5/* This is the single file included by all MPC8xx build options.
6 * Since there are many different boards and no standard configuration,
7 * we have a unique include file for each.  Rather than change every
8 * file that has to include MPC8xx configuration, they all include
9 * this one and the configuration switching is done here.
10 */
11#ifdef __KERNEL__
12#ifndef __CONFIG_8xx_DEFS
13#define __CONFIG_8xx_DEFS
14
15#include <linux/config.h>
16
17#ifdef CONFIG_8xx
18
19#ifdef CONFIG_MBX
20#include <platforms/mbx.h>
21#endif
22
23#ifdef CONFIG_FADS
24#include <platforms/fads.h>
25#endif
26
27#ifdef CONFIG_RPXLITE
28#include <platforms/rpxlite.h>
29#endif
30
31#ifdef CONFIG_BSEIP
32#include <platforms/bseip.h>
33#endif
34
35#ifdef CONFIG_RPXCLASSIC
36#include <platforms/rpxclassic.h>
37#endif
38
39#if defined(CONFIG_TQM8xxL)
40#include <platforms/tqm8xx.h>
41#endif
42
43#if defined(CONFIG_SPD823TS)
44#include <platforms/spd8xx.h>
45#endif
46
47#if defined(CONFIG_IVMS8) || defined(CONFIG_IVML24)
48#include <platforms/ivms8.h>
49#endif
50
51
52/* Currently, all 8xx boards that support a processor to PCI/ISA bridge
53 * use the same memory map.
54 */
55#if !defined(_IO_BASE)      /* defined in board specific header */
56#define _IO_BASE        0
57#endif
58#define _ISA_MEM_BASE   0
59#define PCI_DRAM_OFFSET 0
60
61#ifndef __ASSEMBLY__
62extern unsigned long isa_io_base;
63extern unsigned long isa_mem_base;
64extern unsigned long pci_dram_offset;
65
66/* The "residual" data board information structure the boot loader
67 * hands to us.
68 */
69extern unsigned char __res[];
70
71struct pt_regs;
72extern int request_8xxirq(unsigned int irq,
73		       void (*handler)(int, void *, struct pt_regs *),
74		       unsigned long flags,
75		       const char *device,
76		       void *dev_id);
77#endif /* !__ASSEMBLY__ */
78#endif /* CONFIG_8xx */
79#endif /* __CONFIG_8xx_DEFS */
80#endif /* __KERNEL__ */
81