diff mbox series

mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3

Message ID 9fd6b975adba710158f28aa603cf87a6d189a418.1646655894.git.geert+renesas@glider.be
State Accepted
Delegated to: Vignesh R
Headers show
Series mtd: hyperbus: HBMC_AM654 should depend on ARCH_K3 | expand

Commit Message

Geert Uytterhoeven March 7, 2022, 12:27 p.m. UTC
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(-)

Comments

Miquel Raynal March 14, 2022, 3:59 p.m. UTC | #1
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
diff mbox series

Patch

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