summaryrefslogtreecommitdiffstats
path: root/drivers
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 /drivers
parent2d75989d2d92b71f3f34f2704ac109897a87319f (diff)
downloadlinux-2b372a9685a757a1d3ab30615ef42b2db7c45298.tar.bz2
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>
Diffstat (limited to 'drivers')
-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