riscv: Fix unmet direct dependencies built based on SOC_VIRT
authorKefeng Wang <wangkefeng.wang@huawei.com>
Mon, 11 May 2020 02:19:52 +0000 (10:19 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Tue, 12 May 2020 23:32:29 +0000 (16:32 -0700)
commitab7fbad0c7d7a4f9b320a059a171a92a34b6d409
treee0492bb688a16d66b9106a2efdcbbc0cecfc5435
parent48084c3595cb7429f6ba734cfea1313573b9a7fa
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>
arch/riscv/Kconfig.socs