2 * Basic Virtex platform defines, included by <asm/ibm4xx.h>
4 * 2005-2007 (c) Secret Lab Technologies Ltd.
5 * 2002-2004 (c) MontaVista Software, Inc.
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.
13 #ifndef __ASM_VIRTEX_H__
14 #define __ASM_VIRTEX_H__
16 #include <asm/ibm405.h>
18 /* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */
19 #if !defined(BASE_BAUD)
20 #define BASE_BAUD (0) /* dummy value; not used */
24 typedef struct board_info {
25 unsigned int bi_memsize; /* DRAM installed, in bytes */
26 unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
27 unsigned int bi_intfreq; /* Processor speed, in Hz */
28 unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
29 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
32 /* Some 4xx parts use a different timebase frequency from the internal clock.
33 * the Virtex 405 does not, so just use a macro to make tbfreq match intfreq
35 #define bi_tbfreq bi_intfreq
37 extern const char* virtex_machine_name;
38 #define PPC4xx_MACHINE_NAME (virtex_machine_name)
40 #endif /* !__ASSEMBLY__ */
42 /* We don't need anything mapped. Size of zero will accomplish that. */
43 #define PPC4xx_ONB_IO_PADDR 0u
44 #define PPC4xx_ONB_IO_VADDR 0u
45 #define PPC4xx_ONB_IO_SIZE 0u
47 #endif /* __ASM_VIRTEX_H__ */
48 #endif /* __KERNEL__ */