summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-05-08 08:25:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-08 14:46:42 +0200
commit48ebf1d9b2795eae0287d353d3f3f28902b2d127 (patch)
tree3d99d920c12bed5bcf12345e02f6bd3367aa9eb5 /drivers/mtd/nand
parentf4abcd9f1f7ddb5a032d8c07a6adcb95b31cb7c0 (diff)
downloadbarebox-48ebf1d9b2795eae0287d353d3f3f28902b2d127.tar.gz
barebox-48ebf1d9b2795eae0287d353d3f3f28902b2d127.tar.xz
drivers: explicitly select dependency STMP_DEVICE for i.MX23/28 drivers
Some of the i.MXs drivers can be build tested even if building for other platforms. Support adding a future COMPILE_TEST dependency to some of these drivers by explicitly having their Kconfig symbol select STMP_DEVICE if the driver calls stmp_reset_block. This has not been necessary for the normal build, because the ARCH symbols for the IMX23 and IMX28 already selected STMP_DEVICE. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 3c5da4a40c..f93f7e504b 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -74,6 +74,7 @@ config NAND_IMX
config NAND_MXS
bool
select NAND_BBT
+ select STMP_DEVICE
prompt "i.MX23/28/6 NAND driver"
depends on MXS_APBH_DMA