All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] reset: Enable RESET_SIMPLE based on ARCH_WPCM450, not ARCH_NPCM
@ 2023-04-12 19:19 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Neuschäfer @ 2023-04-12 19:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: openbmc, Tomer Maimon, Philipp Zabel, Jonathan Neuschäfer

The reset-simple driver is used on Nuvoton WPCM450, but not on other
chips of the WPCM/NPCM family.

Narrow down the "default ARCH_..." line from ARCH_NPCM to ARCH_WPCM450,
to avoid unnecessarily compiling reset-simple on these other chips.

Reported-by: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/lkml/CAP6Zq1hjbPpLMWST4cYyMQw_-jewFoSrudOC+FPP5qOxJz4=xw@mail.gmail.com/
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 drivers/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 4b36cdc73576c..16e111d213560 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -208,7 +208,7 @@ config RESET_SCMI

 config RESET_SIMPLE
 	bool "Simple Reset Controller Driver" if COMPILE_TEST || EXPERT
-	default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_NPCM
+	default ARCH_ASPEED || ARCH_BCMBCA || ARCH_BITMAIN || ARCH_REALTEK || ARCH_STM32 || (ARCH_INTEL_SOCFPGA && ARM64) || ARCH_SUNXI || ARC || ARCH_WPCM450
 	depends on HAS_IOMEM
 	help
 	  This enables a simple reset controller driver for reset lines that
--
2.39.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-15 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 19:19 [PATCH] reset: Enable RESET_SIMPLE based on ARCH_WPCM450, not ARCH_NPCM Jonathan Neuschäfer
2023-04-12 19:19 ` Jonathan Neuschäfer
2023-04-15 10:59 ` Jonathan Neuschäfer
2023-04-15 10:59   ` Jonathan Neuschäfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.