Pull thermal into release branch
[linux-drm-fsl-dcu.git] / arch / ppc / platforms / 4xx / virtex.h
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
12 #ifdef __KERNEL__
13 #ifndef __ASM_VIRTEX_H__
14 #define __ASM_VIRTEX_H__
15
16 #include <asm/ibm405.h>
17 #include <asm/ppcboot.h>
18
19 /* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */
20 #if !defined(BASE_BAUD)
21  #define BASE_BAUD              (0) /* dummy value; not used */
22 #endif
23
24 #ifndef __ASSEMBLY__
25 extern const char* virtex_machine_name;
26 #define PPC4xx_MACHINE_NAME (virtex_machine_name)
27 #endif /* !__ASSEMBLY__ */
28
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__ */
35 #endif                          /* __KERNEL__ */