Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / arch / ppc / platforms / 4xx / virtex.h
blob738280420be5627a01b5c6f7e929d6f3edea5681
1 /*
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.
12 #ifdef __KERNEL__
13 #ifndef __ASM_VIRTEX_H__
14 #define __ASM_VIRTEX_H__
16 #include <asm/ibm405.h>
17 #include <asm/ppcboot.h>
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
24 #ifndef __ASSEMBLY__
25 extern const char* virtex_machine_name;
26 #define PPC4xx_MACHINE_NAME (virtex_machine_name)
27 #endif /* !__ASSEMBLY__ */
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
34 #endif /* __ASM_VIRTEX_H__ */
35 #endif /* __KERNEL__ */