Skip to content

Commit 4af1607

Browse files
geertupH5
authored andcommitted
reset: pistachio: Re-enable driver selection
After the retirement of MACH_PISTACHIO, the Pistachio Reset Driver is no longer auto-enabled when building a kernel for Pistachio systems. Worse, the driver cannot be enabled by the user at all (unless compile-testing), as the config symbol is invisible. Fix this partially by making the symbol visible again when compiling for MIPS, and dropping the useless default. The user still has to enable the driver manually when building a kernel for Pistachio systems, though. Fixes: 104f942 ("MIPS: Retire MACH_PISTACHIO") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Rahul Bedarkar <[email protected]> Reviewed-by: Jiaxun Yang <[email protected]> Link: https://lore.kernel.org/r/2c399e52540536df9c4006e46ef93fbccdde88db.1631610825.git.geert+renesas@glider.be Signed-off-by: Philipp Zabel <[email protected]>
1 parent f33eb7f commit 4af1607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/reset/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ config RESET_OXNAS
147147
bool
148148

149149
config RESET_PISTACHIO
150-
bool "Pistachio Reset Driver" if COMPILE_TEST
151-
default MACH_PISTACHIO
150+
bool "Pistachio Reset Driver"
151+
depends on MIPS || COMPILE_TEST
152152
help
153153
This enables the reset driver for ImgTec Pistachio SoCs.
154154

0 commit comments

Comments
 (0)