Re: [PATCH] RISC-V: Only select essential drivers for SOC_VIRT config

From: Bin Meng
Date: Tue Mar 10 2020 - 09:36:33 EST


On Tue, Mar 10, 2020 at 8:00 PM Anup Patel <anup.patel@xxxxxxx> wrote:
>
> The kconfig select causes build failues for SOC_VIRT config becaus
> we are selecting lot of VIRTIO drivers without selecting all required
> dependencies.
>

Isn't this a sign of some VIRTIO Kconfig options are not correctly
expressing 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@xxxxxxx>
> ---
> arch/riscv/Kconfig.socs | 14 --------------
> arch/riscv/configs/defconfig | 16 +++++++++++++++-
> arch/riscv/configs/rv32_defconfig | 16 +++++++++++++++-
> 3 files changed, 30 insertions(+), 16 deletions(-)
>

Regards,
Bin