Skip to content

Commit bc3e8f5

Browse files
Kefeng Wangpaul-walmsley-sifive
authored andcommitted
riscv: only select serial sifive if TTY is enabled
There is some warning if TTY is not enabled, and lead to build error, only select serial sifive if TTY enabled, and this also makes randconfig happy. Signed-off-by: Kefeng Wang <[email protected]> [[email protected]: updated to apply] Signed-off-by: Paul Walmsley <[email protected]>
1 parent 0e72a2f commit bc3e8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/Kconfig.socs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ menu "SoC selection"
22

33
config SOC_SIFIVE
44
bool "SiFive SoCs"
5-
select SERIAL_SIFIVE
6-
select SERIAL_SIFIVE_CONSOLE
5+
select SERIAL_SIFIVE if TTY
6+
select SERIAL_SIFIVE_CONSOLE if TTY
77
select CLK_SIFIVE
88
select CLK_SIFIVE_FU540_PRCI
99
select SIFIVE_PLIC

0 commit comments

Comments
 (0)