diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-16 14:37:33 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2021-05-10 09:41:44 +0200 |
commit | 42f6a76fbe85e5243f83a3ed76809b1ebbb7087e (patch) | |
tree | 8ab3326e73c5adef10686b07217393835d93c7fd /drivers/reset | |
parent | reset: uniphier: enclose UNIPHIER_RESET_ID_END value in parentheses (diff) | |
download | linux-42f6a76fbe85e5243f83a3ed76809b1ebbb7087e.tar.xz linux-42f6a76fbe85e5243f83a3ed76809b1ebbb7087e.zip |
reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
The Broadcom STB RESCAL reset controller is only present on Broadcom
BCM7216 platforms. Hence add a dependency on ARCH_BRCMSTB, to prevent
asking the user about this driver when configuring a kernel without
BCM7216 support.
Also, merely enabling CONFIG_COMPILE_TEST should not enable additional
code, and thus should not enable this driver by default.
Fixes: 4cf176e52397853e ("reset: Add Broadcom STB RESCAL reset controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index c319cf1d83e7..e82d2dbcd778 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -59,7 +59,8 @@ config RESET_BRCMSTB config RESET_BRCMSTB_RESCAL bool "Broadcom STB RESCAL reset controller" depends on HAS_IOMEM - default ARCH_BRCMSTB || COMPILE_TEST + depends on ARCH_BRCMSTB || COMPILE_TEST + default ARCH_BRCMSTB help This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on BCM7216. |