David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 */ |