linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3
@ 2022-03-07 12:27 Geert Uytterhoeven
  2022-03-14 15:59 ` Miquel Raynal
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2022-03-07 12:27 UTC (permalink / raw)
  To: Vignesh Raghavendra, Miquel Raynal, Richard Weinberger
  Cc: linux-mtd, linux-kernel, Geert Uytterhoeven

The AM65x HyperBus controller is only present on Texas Instruments AM65x
SoCs.  Hence add a dependency on ARCH_K3, to prevent asking the user
about this driver when configuring a kernel without support for the
Texas Instruments Inc. K3 multicore SoC architecture.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/mtd/hyperbus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/hyperbus/Kconfig b/drivers/mtd/hyperbus/Kconfig
index 46c7e407e3780ae8..30ffc4c16e4d3e57 100644
--- a/drivers/mtd/hyperbus/Kconfig
+++ b/drivers/mtd/hyperbus/Kconfig
@@ -15,7 +15,7 @@ if MTD_HYPERBUS
 
 config HBMC_AM654
 	tristate "HyperBus controller driver for AM65x SoC"
-	depends on ARM64 || COMPILE_TEST
+	depends on ARCH_K3 || COMPILE_TEST
 	select MULTIPLEXER
 	imply MUX_MMIO
 	help
-- 
2.25.1


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

* Re: [PATCH] mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3
  2022-03-07 12:27 [PATCH] mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3 Geert Uytterhoeven
@ 2022-03-14 15:59 ` Miquel Raynal
  0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2022-03-14 15:59 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vignesh Raghavendra, Miquel Raynal,
	Richard Weinberger
  Cc: linux-mtd, linux-kernel

On Mon, 2022-03-07 at 12:27:02 UTC, Geert Uytterhoeven wrote:
> The AM65x HyperBus controller is only present on Texas Instruments AM65x
> SoCs.  Hence add a dependency on ARCH_K3, to prevent asking the user
> about this driver when configuring a kernel without support for the
> Texas Instruments Inc. K3 multicore SoC architecture.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel

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

end of thread, other threads:[~2022-03-14 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07 12:27 [PATCH] mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3 Geert Uytterhoeven
2022-03-14 15:59 ` Miquel Raynal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).