mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
drivers/tty/serial/8250: update driver for JH7100
This commit is contained in:
parent
8778e98f2c
commit
da09ea8c05
1 changed files with 8 additions and 0 deletions
|
@ -73,8 +73,16 @@ static const struct serial8250_config uart_config[] = {
|
|||
},
|
||||
[PORT_16550] = {
|
||||
.name = "16550",
|
||||
#ifdef CONFIG_SOC_STARFIVE_VIC7100
|
||||
.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,
|
||||
#endif
|
||||
},
|
||||
[PORT_16550A] = {
|
||||
.name = "16550A",
|
||||
|
|
Loading…
Add table
Reference in a new issue