projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/tty/serial/8250: update driver for JH7100
[platform/kernel/linux-starfive.git]
/
drivers
/
tty
/
serial
/
8250
/
8250_port.c
diff --git
a/drivers/tty/serial/8250/8250_port.c
b/drivers/tty/serial/8250/8250_port.c
index
3881722
..
e5044aa
100644
(file)
--- a/
drivers/tty/serial/8250/8250_port.c
+++ b/
drivers/tty/serial/8250/8250_port.c
@@
-71,8
+71,16
@@
static const struct serial8250_config uart_config[] = {
},
[PORT_16550] = {
.name = "16550",
},
[PORT_16550] = {
.name = "16550",
+#ifdef CONFIG_SOC_STARFIVE
+ .fifo_size = 16,
+ .tx_loadsz = 16,
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00,
+ .rxtrig_bytes = {1, 4, 8, 14},
+ .flags = UART_CAP_FIFO,
+#else
.fifo_size = 1,
.tx_loadsz = 1,
.fifo_size = 1,
.tx_loadsz = 1,
+#endif
},
[PORT_16550A] = {
.name = "16550A",
},
[PORT_16550A] = {
.name = "16550A",