summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/serial.h
blob: 2777148dbfc5a3e0f86de60d700e44018770b77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2017 MIPS Tech, LLC
 */
#ifndef __ASM__SERIAL_H
#define __ASM__SERIAL_H

#ifdef CONFIG_MIPS_GENERIC
/*
 * Generic kernels cannot know a correct value for all platforms at
 * compile time. Set it to 0 to prevent 8250_early using it
 */
#define BASE_BAUD 0
#else
#include <asm-generic/serial.h>
#endif

#endif /* __ASM__SERIAL_H */