1 /* 2 * Copyright (C) 2017 MIPS Tech, LLC 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU General Public License as published by the 6 * Free Software Foundation; either version 2 of the License, or (at your 7 * option) any later version. 8 */ 9 #ifndef __ASM__SERIAL_H 10 #define __ASM__SERIAL_H 11 12 #ifdef CONFIG_MIPS_GENERIC 13 /* 14 * Generic kernels cannot know a correct value for all platforms at 15 * compile time. Set it to 0 to prevent 8250_early using it 16 */ 17 #define BASE_BAUD 0 18 #else 19 #include <asm-generic/serial.h> 20 #endif 21 22 #endif /* __ASM__SERIAL_H */ 23