Skip to content

Commit

Permalink
drivers/tty/serial/8250: update driver for VIC7100
Browse files Browse the repository at this point in the history
  • Loading branch information
SaminGuo authored and esmil committed Jun 6, 2021
1 parent 173bb4d commit 3cdd633
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/tty/serial/8250/8250_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3cdd633

Please sign in to comment.