aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2019-07-31 10:07:06 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-08-03 02:11:52 +0200
commit2b372a9685a757a1d3ab30615ef42b2db7c45298 (patch)
tree7617f5659d9fe9ed025476d2ef5ebdac19cec2de
parentmtd: hyperbus: Kconfig: Fix HBMC_AM654 dependencies (diff)
downloadlinux-dev-2b372a9685a757a1d3ab30615ef42b2db7c45298.tar.xz
linux-dev-2b372a9685a757a1d3ab30615ef42b2db7c45298.zip
mtd: hyperbus: Add hardware dependency to AM654 driver
The hbmc-am654 driver is for the TI AM654, which is an ARM64 SoC, so don't propose this driver on other architectures unless build-testing. Fixes: b07079f1642c ("mtd: hyperbus: Add driver for TI's HyperBus memory controller") Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--drivers/mtd/hyperbus/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/hyperbus/Kconfig b/drivers/mtd/hyperbus/Kconfig
index 1c691df8eff7..b4e3caf7d799 100644
--- a/drivers/mtd/hyperbus/Kconfig
+++ b/drivers/mtd/hyperbus/Kconfig
@@ -14,6 +14,7 @@ if MTD_HYPERBUS
config HBMC_AM654
tristate "HyperBus controller driver for AM65x SoC"
+ depends on ARM64 || COMPILE_TEST
select MULTIPLEXER
imply MUX_MMIO
help