xref: /linux/arch/powerpc/include/asm/serial.h (revision f4cdf7ca9a1fdcca413157df19753f388a5a224e)
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 /* Provides BASE_BAUD, used as fallback if not found in device tree. */
11 #include <asm-generic/serial.h>
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