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