projects/linux·blob master · refs

19 lines · 489 B

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
14extern 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 */