ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / ppc / platforms / est8260.h
1 /* Board information for the EST8260, which should be generic for
2  * all 8260 boards.  The IMMR is now given to us so the hard define
3  * will soon be removed.  All of the clock values are computed from
4  * the configuration SCMR and the Power-On-Reset word.
5  */
6 #ifndef __EST8260_PLATFORM
7 #define __EST8260_PLATFORM
8
9 #define IMAP_ADDR               ((uint)0xf0000000)
10
11 #define BOOTROM_RESTART_ADDR    ((uint)0xff000104)
12
13
14 /* A Board Information structure that is given to a program when
15  * prom starts it up.
16  */
17 typedef struct bd_info {
18         unsigned int    bi_memstart;    /* Memory start address */
19         unsigned int    bi_memsize;     /* Memory (end) size in bytes */
20         unsigned int    bi_intfreq;     /* Internal Freq, in Hz */
21         unsigned int    bi_busfreq;     /* Bus Freq, in MHz */
22         unsigned int    bi_cpmfreq;     /* CPM Freq, in MHz */
23         unsigned int    bi_brgfreq;     /* BRG Freq, in MHz */
24         unsigned int    bi_vco;         /* VCO Out from PLL */
25         unsigned int    bi_baudrate;    /* Default console baud rate */
26         unsigned int    bi_immr;        /* IMMR when called from boot rom */
27         unsigned char   bi_enetaddr[6];
28 } bd_t;
29
30 extern bd_t m8xx_board_info;
31
32 #endif  /* __EST8260_PLATFORM */