mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5
To add support for Sparx5, the dependency on MSCC_OCELOT was removed.
However, this increases exposure of the driver question not only to
Sparx5 platforms, but to everyone. Hence re-add the dependency on
MSCC_OCELOT, and extend it with ARCH_SPARX5, to prevent asking the user
about this driver when configuring a kernel without Ocelot and Sparx5
support.
Fixes: ec871696b7 ("power: reset: ocelot: Add support for Sparx5")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
committed by
Sebastian Reichel
parent
6c59a17b0d
commit
7007fab4ae
@@ -129,6 +129,7 @@ config POWER_RESET_QCOM_PON
|
|||||||
|
|
||||||
config POWER_RESET_OCELOT_RESET
|
config POWER_RESET_OCELOT_RESET
|
||||||
bool "Microsemi Ocelot reset driver"
|
bool "Microsemi Ocelot reset driver"
|
||||||
|
depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST
|
||||||
select MFD_SYSCON
|
select MFD_SYSCON
|
||||||
help
|
help
|
||||||
This driver supports restart for Microsemi Ocelot SoC and similar.
|
This driver supports restart for Microsemi Ocelot SoC and similar.
|
||||||
|
|||||||
Reference in New Issue
Block a user