riscv: defconfig: add SERIAL_8250_DW

Message ID 20221119121953.3897171-1-clabbe@baylibre.com
State New
Headers
Series riscv: defconfig: add SERIAL_8250_DW |

Commit Message

Corentin LABBE Nov. 19, 2022, 12:19 p.m. UTC
  jh7100-starfive-visionfive-v1 DTB was recently added, but all my try to
boot it in kernelCI failed.
This is due to a missing serial driver in defconfig.
So let's add CONFIG_SERIAL_8250_DW which is needed.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Ben Dooks Nov. 21, 2022, 8:13 a.m. UTC | #1
On 19/11/2022 12:19, Corentin Labbe wrote:
> jh7100-starfive-visionfive-v1 DTB was recently added, but all my try to
> boot it in kernelCI failed.
> This is due to a missing serial driver in defconfig.
> So let's add CONFIG_SERIAL_8250_DW which is needed.

This block is an extended 16550, so not sure why the 16550/8250
driver isn't being used as a backup in case the DesingWare variant
isn't there.
  

Patch

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index f7f32448f160..9a35ff88bec2 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -123,6 +123,7 @@  CONFIG_MICROSEMI_PHY=y
 CONFIG_INPUT_MOUSEDEV=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_SH_SCI=y
 CONFIG_VIRTIO_CONSOLE=y