diff options
Diffstat (limited to 'arch/ppc/platforms/4xx/virtex.h')
-rw-r--r-- | arch/ppc/platforms/4xx/virtex.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/ppc/platforms/4xx/virtex.h b/arch/ppc/platforms/4xx/virtex.h index c14325dfd7b1..738280420be5 100644 --- a/arch/ppc/platforms/4xx/virtex.h +++ b/arch/ppc/platforms/4xx/virtex.h | |||
@@ -1,35 +1,35 @@ | |||
1 | /* | 1 | /* |
2 | * arch/ppc/platforms/4xx/virtex.h | 2 | * Basic Virtex platform defines, included by <asm/ibm4xx.h> |
3 | * | 3 | * |
4 | * Include file that defines the Xilinx Virtex-II Pro processor | 4 | * 2005-2007 (c) Secret Lab Technologies Ltd. |
5 | * 2002-2004 (c) MontaVista Software, Inc. | ||
5 | * | 6 | * |
6 | * Author: MontaVista Software, Inc. | 7 | * This file is licensed under the terms of the GNU General Public License |
7 | * source@mvista.com | 8 | * version 2. This program is licensed "as is" without any warranty of any |
8 | * | 9 | * kind, whether express or implied. |
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 | */ | 10 | */ |
13 | 11 | ||
14 | #ifdef __KERNEL__ | 12 | #ifdef __KERNEL__ |
15 | #ifndef __ASM_VIRTEX_H__ | 13 | #ifndef __ASM_VIRTEX_H__ |
16 | #define __ASM_VIRTEX_H__ | 14 | #define __ASM_VIRTEX_H__ |
17 | 15 | ||
18 | /* serial defines */ | ||
19 | |||
20 | #include <asm/ibm405.h> | 16 | #include <asm/ibm405.h> |
17 | #include <asm/ppcboot.h> | ||
21 | 18 | ||
22 | /* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */ | 19 | /* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */ |
23 | #if !defined(BASE_BAUD) | 20 | #if !defined(BASE_BAUD) |
24 | #define BASE_BAUD (0) /* dummy value; not used */ | 21 | #define BASE_BAUD (0) /* dummy value; not used */ |
25 | #endif | 22 | #endif |
26 | 23 | ||
27 | /* Device type enumeration for platform bus definitions */ | ||
28 | #ifndef __ASSEMBLY__ | 24 | #ifndef __ASSEMBLY__ |
29 | enum ppc_sys_devices { | 25 | extern const char* virtex_machine_name; |
30 | VIRTEX_UART, NUM_PPC_SYS_DEVS, | 26 | #define PPC4xx_MACHINE_NAME (virtex_machine_name) |
31 | }; | 27 | #endif /* !__ASSEMBLY__ */ |
32 | #endif | 28 | |
33 | 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 | |||
34 | #endif /* __ASM_VIRTEX_H__ */ | 34 | #endif /* __ASM_VIRTEX_H__ */ |
35 | #endif /* __KERNEL__ */ | 35 | #endif /* __KERNEL__ */ |