sbs8260.h 1.0 KB

12345678910111213141516171819202122232425262728
  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. #define CPM_MAP_ADDR ((uint)0xfe000000)
  8. /* A Board Information structure that is given to a program when
  9. * prom starts it up.
  10. */
  11. typedef struct bd_info {
  12. unsigned int bi_memstart; /* Memory start address */
  13. unsigned int bi_memsize; /* Memory (end) size in bytes */
  14. unsigned int bi_intfreq; /* Internal Freq, in Hz */
  15. unsigned int bi_busfreq; /* Bus Freq, in MHz */
  16. unsigned int bi_cpmfreq; /* CPM Freq, in MHz */
  17. unsigned int bi_brgfreq; /* BRG Freq, in MHz */
  18. unsigned int bi_vco; /* VCO Out from PLL */
  19. unsigned int bi_baudrate; /* Default console baud rate */
  20. unsigned int bi_immr; /* IMMR when called from boot rom */
  21. unsigned char bi_enetaddr[6];
  22. } bd_t;
  23. extern bd_t m8xx_board_info;
  24. #endif /* !__ASSEMBLY__ */