mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-13 04:26:40 +07:00
63bcf87cb1
When ARC_SOC_HSDK is enabled and RESET_CONTROLLER is disabled, it results
in the following Kbuild warning:
WARNING: unmet direct dependencies detected for RESET_HSDK
Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y] && (ARC_SOC_HSDK [=y] || COMPILE_TEST [=n])
Selected by [y]:
- ARC_SOC_HSDK [=y] && ISA_ARCV2 [=y]
The reason is that ARC_SOC_HSDK selects RESET_HSDK without depending on or
selecting RESET_CONTROLLER while RESET_HSDK is subordinate to
RESET_CONTROLLER.
Honor the kconfig menu hierarchy to remove kconfig dependency warnings.
Fixes: a528629dfd
("ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig")
Signed-off-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
14 lines
311 B
Plaintext
14 lines
311 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com)
|
|
#
|
|
|
|
menuconfig ARC_SOC_HSDK
|
|
bool "ARC HS Development Kit SOC"
|
|
depends on ISA_ARCV2
|
|
select ARC_HAS_ACCL_REGS
|
|
select ARC_IRQ_NO_AUTOSAVE
|
|
select CLK_HSDK
|
|
select RESET_CONTROLLER
|
|
select RESET_HSDK
|
|
select HAVE_PCI
|