OSDN Git Service

RISC-V: Only select essential drivers for SOC_VIRT config
authorAnup Patel <anup.patel@wdc.com>
Tue, 10 Mar 2020 11:59:25 +0000 (17:29 +0530)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 26 Mar 2020 19:35:04 +0000 (12:35 -0700)
commitbd6f20333c6794e8b06f5ee963bfa5943e65cc86
treeaa7c53f7c700d0b09fc36a277ff03e6370817260
parent3384b043ea1564560ff19591cb9554867c7c6f77
RISC-V: Only select essential drivers for SOC_VIRT config

The kconfig select causes build failues for SOC_VIRT config becaus
we are selecting lot of VIRTIO drivers without selecting all required
dependencies.

Better approach is to only select essential drivers from SOC_VIRT
config option and enable required VIRTIO drivers using defconfigs.

Fixes: 759bdc168181 ("RISC-V: Add kconfig option for QEMU virt machine")
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig.socs
arch/riscv/configs/defconfig
arch/riscv/configs/rv32_defconfig