Commit aead1076 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Arnd Bergmann

reset: RESET_NUVOTON_MA35D1 should depend on ARCH_MA35

The Nuvoton MA35D1 reset controller is only present on Nuvoton MA35
SoCs.  Hence add a dependency on ARCH_MA35, to prevent asking the user
about this driver when configuring a kernel without MA35 SoC support.
Also, do not enable the driver by default when merely compile-testing.

While at it, fix a misspelling of "Nuvoton".

Fixes: e4bb55d6 ("reset: Add Nuvoton ma35d1 reset driver support")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 207656f7
...@@ -144,8 +144,9 @@ config RESET_NPCM ...@@ -144,8 +144,9 @@ config RESET_NPCM
BMC SoCs. BMC SoCs.
config RESET_NUVOTON_MA35D1 config RESET_NUVOTON_MA35D1
bool "Nuvton MA35D1 Reset Driver" bool "Nuvoton MA35D1 Reset Driver"
default ARCH_MA35 || COMPILE_TEST depends on ARCH_MA35 || COMPILE_TEST
default ARCH_MA35
help help
This enables the reset controller driver for Nuvoton MA35D1 SoC. This enables the reset controller driver for Nuvoton MA35D1 SoC.
......
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