OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ppc/] [mpc8xx.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/* This is the single file included by all MPC8xx build options.
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 MPC8xx configuration, they all include
5
 * this one and the configuration switching is done here.
6
 */
7
#ifdef __KERNEL__
8
#ifndef __CONFIG_8xx_DEFS
9
#define __CONFIG_8xx_DEFS
10
 
11
#include <linux/config.h>
12
 
13
#ifdef CONFIG_8xx
14
 
15
#ifdef CONFIG_MBX
16
#include <platforms/mbx.h>
17
#endif
18
 
19
#ifdef CONFIG_FADS
20
#include <platforms/fads.h>
21
#endif
22
 
23
#ifdef CONFIG_RPXLITE
24
#include <platforms/rpxlite.h>
25
#endif
26
 
27
#ifdef CONFIG_BSEIP
28
#include <platforms/bseip.h>
29
#endif
30
 
31
#ifdef CONFIG_RPXCLASSIC
32
#include <platforms/rpxclassic.h>
33
#endif
34
 
35
#ifdef CONFIG_DBOX2
36
#include <platforms/dbox2.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
/* The PCI_ISA_IO_ADDR, PCI_ISA_MEM_ADDR, and PCI_DRAM_OFFSET macros
53
 * must be defined in the board-specific header file for targets that
54
 * need them.  Default values are defined here for targets that don't need
55
 * them.
56
  */
57
#if defined(CONFIG_PCI)
58
#if !defined(_IO_BASE)
59
#define _IO_BASE PCI_ISA_IO_ADDR
60
#endif
61
#if !defined(_ISA_MEM_BASE)
62
#define _ISA_MEM_BASE PCI_ISA_MEM_ADDR
63
#endif
64
#if !defined(PCI_DRAM_OFFSET)
65
#define PCI_DRAM_OFFSET 0
66
#endif
67
#else   /* if defined(CONFIG_PCI) */
68
#if !defined(_IO_BASE)
69
#define _IO_BASE        0
70
#endif
71
#if !defined(_ISA_MEM_BASE)
72
#define _ISA_MEM_BASE   0
73
#endif
74
#if !defined(PCI_DRAM_OFFSET)
75
#define PCI_DRAM_OFFSET 0
76
#endif
77
#endif  /* if defined(CONFIG_PCI) */
78
 
79
#ifndef __ASSEMBLY__
80
extern unsigned long isa_io_base;
81
extern unsigned long isa_mem_base;
82
extern unsigned long pci_dram_offset;
83
 
84
/* The "residual" data board information structure the boot loader
85
 * hands to us.
86
 */
87
extern unsigned char __res[];
88
 
89
#define request_8xxirq request_irq
90
 
91
#endif /* !__ASSEMBLY__ */
92
#endif /* CONFIG_8xx */
93
#endif /* __CONFIG_8xx_DEFS */
94
#endif /* __KERNEL__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.