Skip to content

Commit ab7fbad

Browse files
Kefeng Wangpalmer-dabbelt
authored andcommitted
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 <[email protected]> Signed-off-by: Kefeng Wang <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 48084c3 commit ab7fbad

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

arch/riscv/Kconfig.socs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ config SOC_SIFIVE
1111
This enables support for SiFive SoC platform hardware.
1212

1313
config SOC_VIRT
14-
bool "QEMU Virt Machine"
15-
select POWER_RESET_SYSCON
16-
select POWER_RESET_SYSCON_POWEROFF
17-
select GOLDFISH
18-
select RTC_DRV_GOLDFISH
19-
select SIFIVE_PLIC
20-
help
21-
This enables support for QEMU Virt Machine.
14+
bool "QEMU Virt Machine"
15+
select POWER_RESET
16+
select POWER_RESET_SYSCON
17+
select POWER_RESET_SYSCON_POWEROFF
18+
select GOLDFISH
19+
select RTC_DRV_GOLDFISH if RTC_CLASS
20+
select SIFIVE_PLIC
21+
help
22+
This enables support for QEMU Virt Machine.
2223

2324
config SOC_KENDRYTE
2425
bool "Kendryte K210 SoC"

0 commit comments

Comments
 (0)