xref: /openbmc/linux/arch/powerpc/include/asm/serial.h (revision 2cf1c348)
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