Linux-2.6.12-rc2
[linux-2.6/kvm.git] / arch / ppc / platforms / 4xx / xilinx_ml300.h
blobf8c5884123364239b72fc4543e1e5e797f01ee17
1 /*
2 * arch/ppc/platforms/4xx/xilinx_ml300.h
4 * Include file that defines the Xilinx ML300 evaluation board
6 * Author: MontaVista Software, Inc.
7 * source@mvista.com
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.
14 #ifdef __KERNEL__
15 #ifndef __ASM_XILINX_ML300_H__
16 #define __ASM_XILINX_ML300_H__
18 /* ML300 has a Xilinx Virtex-II Pro processor */
19 #include <platforms/4xx/virtex-ii_pro.h>
21 #ifndef __ASSEMBLY__
23 #include <linux/types.h>
25 typedef struct board_info {
26 unsigned int bi_memsize; /* DRAM installed, in bytes */
27 unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
28 unsigned int bi_intfreq; /* Processor speed, in Hz */
29 unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
30 unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
31 } bd_t;
33 /* Some 4xx parts use a different timebase frequency from the internal clock.
35 #define bi_tbfreq bi_intfreq
37 #endif /* !__ASSEMBLY__ */
39 /* We don't need anything mapped. Size of zero will accomplish that. */
40 #define PPC4xx_ONB_IO_PADDR 0u
41 #define PPC4xx_ONB_IO_VADDR 0u
42 #define PPC4xx_ONB_IO_SIZE 0u
44 #define PPC4xx_MACHINE_NAME "Xilinx ML300"
46 #endif /* __ASM_XILINX_ML300_H__ */
47 #endif /* __KERNEL__ */