riscv: Fix unmet direct dependencies built based on SOC_VIRT
Fix unmet direct dependencies Warning and fix Kconfig indent. WARNING: unmet direct dependencies detected for POWER_RESET_SYSCON Depends on [n]: POWER_RESET [=n] && OF [=y] && HAS_IOMEM [=y] Selected by [y]: - SOC_VIRT [=y] WARNING: unmet direct dependencies detected for POWER_RESET_SYSCON_POWEROFF Depends on [n]: POWER_RESET [=n] && OF [=y] && HAS_IOMEM [=y] Selected by [y]: - SOC_VIRT [=y] WARNING: unmet direct dependencies detected for RTC_DRV_GOLDFISH Depends on [n]: RTC_CLASS [=n] && OF [=y] && HAS_IOMEM [=y] && (GOLDFISH [=y] || COMPILE_TEST [=n]) Selected by [y]: - SOC_VIRT [=y] Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
48084c3595
commit
ab7fbad0c7
@ -11,14 +11,15 @@ config SOC_SIFIVE
|
|||||||
This enables support for SiFive SoC platform hardware.
|
This enables support for SiFive SoC platform hardware.
|
||||||
|
|
||||||
config SOC_VIRT
|
config SOC_VIRT
|
||||||
bool "QEMU Virt Machine"
|
bool "QEMU Virt Machine"
|
||||||
select POWER_RESET_SYSCON
|
select POWER_RESET
|
||||||
select POWER_RESET_SYSCON_POWEROFF
|
select POWER_RESET_SYSCON
|
||||||
select GOLDFISH
|
select POWER_RESET_SYSCON_POWEROFF
|
||||||
select RTC_DRV_GOLDFISH
|
select GOLDFISH
|
||||||
select SIFIVE_PLIC
|
select RTC_DRV_GOLDFISH if RTC_CLASS
|
||||||
help
|
select SIFIVE_PLIC
|
||||||
This enables support for QEMU Virt Machine.
|
help
|
||||||
|
This enables support for QEMU Virt Machine.
|
||||||
|
|
||||||
config SOC_KENDRYTE
|
config SOC_KENDRYTE
|
||||||
bool "Kendryte K210 SoC"
|
bool "Kendryte K210 SoC"
|
||||||
|
Loading…
Reference in New Issue
Block a user