mtd: hyperbus: Add hardware dependency to AM654 driver
authorJean Delvare <jdelvare@suse.de>
Wed, 31 Jul 2019 08:07:06 +0000 (10:07 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 3 Aug 2019 00:11:52 +0000 (02:11 +0200)
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>
drivers/mtd/hyperbus/Kconfig

index 1c691df8eff7cf59e745444f83750d0ad7f0ff97..b4e3caf7d799e62ff875a1d9c98f41b3fe0e7823 100644 (file)
@@ -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