- `risc-v`: rework RichNeese's boards, reduce families, move tweaks to boards - `risc-v`/`starfive`: `CONFIG_MOTORCOMM_PHY=m` for the onboard Ethernet - `risc-v`/`starfive`: use mainline kernel 6.1.y, with StarFive's rebased patches against `v6.1.5` - from https://github.com/starfive-tech/linux/commits/visionfive - contention point: `1022-soc-sifive-ccache-Add-StarFive-JH71x0-support.patch` which I merged half-assed, need review/fixes? - `risc-v`/`starfive`: update kernel config, sans changes - `risc-v`/`starfive`: switch from `grub` to `extlinux` - `risc-v`/`starfive`: new `starfive` family with their (vendor) kernel Co-authored-by: Richard Neese <r.neese@gmail.com>
34 lines
929 B
Diff
34 lines
929 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Samin Guo <samin.guo@starfivetech.com>
|
|
Date: Fri, 8 Jan 2021 03:11:04 +0800
|
|
Subject: drivers/tty/serial/8250: update driver for JH7100
|
|
|
|
---
|
|
drivers/tty/serial/8250/8250_port.c | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
|
|
index 388172289627..e5044aa01298 100644
|
|
--- 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",
|
|
+#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,
|
|
+#endif
|
|
},
|
|
[PORT_16550A] = {
|
|
.name = "16550A",
|
|
--
|
|
Armbian
|
|
|