riscv: only select serial sifive if TTY is enabled
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 24 Oct 2019 07:20:03 +0000 (15:20 +0800)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 9 Dec 2019 04:29:01 +0000 (20:29 -0800)
commitbc3e8f5d42d5cfac3f7ac9b458c2eeb02e8b1cf7
treea593a72ecb7682c18cadbceafe4fdad5ac67dd34
parent0e72a2f9c1a386aaa8337f9f524f89a7884b82cf
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 <wangkefeng.wang@huawei.com>
[paul.walmsley@sifive.com: updated to apply]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/Kconfig.socs