Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASSEMBLY__ |
| 2 | /* Board information for various SBS 8260 cards, which should be generic for |
| 3 | * all 8260 boards. The IMMR is now given to us so the hard define |
| 4 | * will soon be removed. All of the clock values are computed from |
| 5 | * the configuration SCMR and the Power-On-Reset word. |
| 6 | */ |
| 7 | |
| 8 | #define CPM_MAP_ADDR ((uint)0xfe000000) |
| 9 | |
| 10 | |
| 11 | /* A Board Information structure that is given to a program when |
| 12 | * prom starts it up. |
| 13 | */ |
| 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 MHz */ |
| 19 | unsigned int bi_cpmfreq; /* CPM Freq, in MHz */ |
| 20 | unsigned int bi_brgfreq; /* BRG Freq, in MHz */ |
| 21 | unsigned int bi_vco; /* VCO Out from PLL */ |
| 22 | unsigned int bi_baudrate; /* Default console baud rate */ |
| 23 | unsigned int bi_immr; /* IMMR when called from boot rom */ |
| 24 | unsigned char bi_enetaddr[6]; |
| 25 | } bd_t; |
| 26 | |
| 27 | extern bd_t m8xx_board_info; |
| 28 | #endif /* !__ASSEMBLY__ */ |