2019-05-27 13:55:01 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 05:20:36 +07:00
|
|
|
/*
|
|
|
|
*/
|
2005-11-14 13:22:01 +07:00
|
|
|
#ifndef _ASM_POWERPC_SERIAL_H
|
|
|
|
#define _ASM_POWERPC_SERIAL_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Serial ports are not listed here, because they are discovered
|
|
|
|
* through the device tree.
|
|
|
|
*/
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
/* Default baud base if not found in device-tree */
|
|
|
|
#define BASE_BAUD ( 1843200 / 16 )
|
|
|
|
|
2006-01-10 12:19:05 +07:00
|
|
|
#ifdef CONFIG_PPC_UDBG_16550
|
2005-11-23 13:56:06 +07:00
|
|
|
extern void find_legacy_serial_ports(void);
|
2006-01-10 12:19:05 +07:00
|
|
|
#else
|
|
|
|
#define find_legacy_serial_ports() do { } while (0)
|
|
|
|
#endif
|
2005-11-23 13:56:06 +07:00
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#endif /* _PPC64_SERIAL_H */
|