1a42e53d17
This patch only deals with the serial port definitions as there is no support for any other xilinx IP cores in the kernel tree at the moment. Board specific configuration moved out of virtex.[ch] and into the xparameters.h wrapper. This also prepares for the transition to the flattened device tree model. When the bootloader provides a device tree generated from an xparameters.h files, the kernel will no longer need xparameters/*. The platform bus will get populated with data from the device tree, and the device drivers will be automatically connected to the devices. Only the bootloader (or ppcboot) will need xparameters directly. Signed-off-by: Grant C. Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
36 lines
872 B
C
36 lines
872 B
C
/*
|
|
* arch/ppc/platforms/4xx/virtex.h
|
|
*
|
|
* Include file that defines the Xilinx Virtex-II Pro processor
|
|
*
|
|
* Author: MontaVista Software, Inc.
|
|
* source@mvista.com
|
|
*
|
|
* 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
|
|
* terms of the GNU General Public License version 2. This program is licensed
|
|
* "as is" without any warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifdef __KERNEL__
|
|
#ifndef __ASM_VIRTEX_H__
|
|
#define __ASM_VIRTEX_H__
|
|
|
|
/* serial defines */
|
|
|
|
#include <asm/ibm405.h>
|
|
|
|
/* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */
|
|
#if !defined(BASE_BAUD)
|
|
#define BASE_BAUD (0) /* dummy value; not used */
|
|
#endif
|
|
|
|
/* Device type enumeration for platform bus definitions */
|
|
#ifndef __ASSEMBLY__
|
|
enum ppc_sys_devices {
|
|
VIRTEX_UART,
|
|
};
|
|
#endif
|
|
|
|
#endif /* __ASM_VIRTEX_H__ */
|
|
#endif /* __KERNEL__ */
|