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 | /* |
| 3 | * Copyright (C) 2017 MIPS Tech, LLC |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 4 | */ |
| 5 | #ifndef __ASM__SERIAL_H |
| 6 | #define __ASM__SERIAL_H |
| 7 | |
| 8 | #ifdef CONFIG_MIPS_GENERIC |
| 9 | /* |
| 10 | * Generic kernels cannot know a correct value for all platforms at |
| 11 | * compile time. Set it to 0 to prevent 8250_early using it |
| 12 | */ |
| 13 | #define BASE_BAUD 0 |
| 14 | #else |
| 15 | #include <asm-generic/serial.h> |
| 16 | #endif |
| 17 | |
| 18 | #endif /* __ASM__SERIAL_H */ |