xref: /linux/arch/powerpc/include/asm/serial.h (revision 2697b79a469b68e3ad3640f55284359c1396278d)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  */
4 #ifndef _ASM_POWERPC_SERIAL_H
5 #define _ASM_POWERPC_SERIAL_H
6 
7 /*
8  * Serial ports are not listed here, because they are discovered
9  * through the device tree.
10  */
11 
12 /* Default baud base if not found in device-tree */
13 #define BASE_BAUD ( 1843200 / 16 )
14 
15 #ifdef CONFIG_PPC_UDBG_16550
16 extern void find_legacy_serial_ports(void);
17 #else
18 #define find_legacy_serial_ports()	do { } while (0)
19 #endif
20 
21 #endif /* _PPC64_SERIAL_H */
22