Commit 42f6a76f authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Philipp Zabel

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: 4cf176e5 ("reset: Add Broadcom STB RESCAL reset controller")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent b19a5aec
...@@ -59,7 +59,8 @@ config RESET_BRCMSTB ...@@ -59,7 +59,8 @@ config RESET_BRCMSTB
config RESET_BRCMSTB_RESCAL config RESET_BRCMSTB_RESCAL
bool "Broadcom STB RESCAL reset controller" bool "Broadcom STB RESCAL reset controller"
depends on HAS_IOMEM depends on HAS_IOMEM
default ARCH_BRCMSTB || COMPILE_TEST depends on ARCH_BRCMSTB || COMPILE_TEST
default ARCH_BRCMSTB
help help
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on
BCM7216. BCM7216.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment