blob: cd6c18d0e66e1311f601c85692c506e01c43c5d7 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00003 */
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
16extern 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 */