xilinx_ml300.h 1.3 KB

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