est8260.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #define CPM_MAP_ADDR ((uint)0xf0000000)
  9. #define BOOTROM_RESTART_ADDR ((uint)0xff000104)
  10. /* For our show_cpuinfo hooks. */
  11. #define CPUINFO_VENDOR "EST Corporation"
  12. #define CPUINFO_MACHINE "SBC8260 PowerPC"
  13. /* A Board Information structure that is given to a program when
  14. * prom starts it up.
  15. */
  16. typedef struct bd_info {
  17. unsigned int bi_memstart; /* Memory start address */
  18. unsigned int bi_memsize; /* Memory (end) size in bytes */
  19. unsigned int bi_intfreq; /* Internal Freq, in Hz */
  20. unsigned int bi_busfreq; /* Bus Freq, in MHz */
  21. unsigned int bi_cpmfreq; /* CPM Freq, in MHz */
  22. unsigned int bi_brgfreq; /* BRG Freq, in MHz */
  23. unsigned int bi_vco; /* VCO Out from PLL */
  24. unsigned int bi_baudrate; /* Default console baud rate */
  25. unsigned int bi_immr; /* IMMR when called from boot rom */
  26. unsigned char bi_enetaddr[6];
  27. } bd_t;
  28. extern bd_t m8xx_board_info;
  29. #endif /* __EST8260_PLATFORM */