PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/arch/ppc/platforms/bseip.h

https://bitbucket.org/evzijst/gittest
C Header | 38 lines | 19 code | 5 blank | 14 comment | 0 complexity | 4ab78c1bff9465a6aaefd8fc9c6eba55 MD5 | raw file
 1/*
 2 * A collection of structures, addresses, and values associated with
 3 * the Bright Star Engineering ip-Engine board.  Copied from the MBX stuff.
 4 *
 5 * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
 6 */
 7#ifndef __MACH_BSEIP_DEFS
 8#define __MACH_BSEIP_DEFS
 9
10#ifndef __ASSEMBLY__
11/* A Board Information structure that is given to a program when
12 * prom starts it up.
13 */
14typedef 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;
22
23extern bd_t m8xx_board_info;
24
25/* Memory map is configured by the PROM startup.
26 * All we need to get started is the IMMR.
27 */
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__ */
33
34/* We don't use the 8259.
35*/
36#define NR_8259_INTS	0
37
38#endif