Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / arch / ppc / platforms / bseip.h
blob691f4a52b0a5a4eb4e6ba04c57c38466d678394e
1 /*
2 * A collection of structures, addresses, and values associated with
3 * the Bright Star Engineering ip-Engine board. Copied from the MBX stuff.
5 * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
6 */
7 #ifndef __MACH_BSEIP_DEFS
8 #define __MACH_BSEIP_DEFS
10 #ifndef __ASSEMBLY__
11 /* A Board Information structure that is given to a program when
12 * prom starts it up.
14 typedef struct bd_info {
15 unsigned int bi_memstart; /* Memory start address */
16 unsigned int bi_memsize; /* Memory (end) size in bytes */
17 unsigned int bi_intfreq; /* Internal Freq, in Hz */
18 unsigned int bi_busfreq; /* Bus Freq, in Hz */
19 unsigned char bi_enetaddr[6];
20 unsigned int bi_baudrate;
21 } bd_t;
23 extern bd_t m8xx_board_info;
25 /* Memory map is configured by the PROM startup.
26 * All we need to get started is the IMMR.
28 #define IMAP_ADDR ((uint)0xff000000)
29 #define IMAP_SIZE ((uint)(64 * 1024))
30 #define PCMCIA_MEM_ADDR ((uint)0x04000000)
31 #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
32 #endif /* !__ASSEMBLY__ */
34 /* We don't use the 8259.
36 #define NR_8259_INTS 0
38 #endif