xilinx_ml300.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Include file that defines the Xilinx ML300 evaluation board
  3. *
  4. * Author: MontaVista Software, Inc.
  5. * source@mvista.com
  6. *
  7. * 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
  8. * terms of the GNU General Public License version 2. This program is licensed
  9. * "as is" without any warranty of any kind, whether express or implied.
  10. */
  11. #ifdef __KERNEL__
  12. #ifndef __ASM_XILINX_ML300_H__
  13. #define __ASM_XILINX_ML300_H__
  14. /* ML300 has a Xilinx Virtex-II Pro processor */
  15. #include <platforms/4xx/virtex.h>
  16. #ifndef __ASSEMBLY__
  17. #include <linux/types.h>
  18. typedef struct board_info {
  19. unsigned int bi_memsize; /* DRAM installed, in bytes */
  20. unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
  21. unsigned int bi_intfreq; /* Processor speed, in Hz */
  22. unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
  23. unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
  24. } bd_t;
  25. /* Some 4xx parts use a different timebase frequency from the internal clock.
  26. */
  27. #define bi_tbfreq bi_intfreq
  28. #endif /* !__ASSEMBLY__ */
  29. /* We don't need anything mapped. Size of zero will accomplish that. */
  30. #define PPC4xx_ONB_IO_PADDR 0u
  31. #define PPC4xx_ONB_IO_VADDR 0u
  32. #define PPC4xx_ONB_IO_SIZE 0u
  33. #define PPC4xx_MACHINE_NAME "Xilinx ML300 Reference System"
  34. #endif /* __ASM_XILINX_ML300_H__ */
  35. #endif /* __KERNEL__ */