virtex.h 989 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Basic Virtex platform defines, included by <asm/ibm4xx.h>
  3. *
  4. * 2005-2007 (c) Secret Lab Technologies Ltd.
  5. * 2002-2004 (c) MontaVista Software, Inc.
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. #ifdef __KERNEL__
  12. #ifndef __ASM_VIRTEX_H__
  13. #define __ASM_VIRTEX_H__
  14. #include <asm/ibm405.h>
  15. #include <asm/ppcboot.h>
  16. /* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */
  17. #if !defined(BASE_BAUD)
  18. #define BASE_BAUD (0) /* dummy value; not used */
  19. #endif
  20. #ifndef __ASSEMBLY__
  21. extern const char* virtex_machine_name;
  22. #define PPC4xx_MACHINE_NAME (virtex_machine_name)
  23. #endif /* !__ASSEMBLY__ */
  24. /* We don't need anything mapped. Size of zero will accomplish that. */
  25. #define PPC4xx_ONB_IO_PADDR 0u
  26. #define PPC4xx_ONB_IO_VADDR 0u
  27. #define PPC4xx_ONB_IO_SIZE 0u
  28. #endif /* __ASM_VIRTEX_H__ */
  29. #endif /* __KERNEL__ */