summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugen Wiens <eugen.wiens@jumo.net>2018-07-17 09:37:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-06 15:40:05 +0200
commit786958b2caa42e489f03a2e08d5472480d4a1eab (patch)
tree20a2ed495f1d0dad96d66c703fd2e83605f442b6
parentd5d7e9c0bd8d60f0a9a16780b43a094605757df7 (diff)
downloadbarebox-786958b2caa42e489f03a2e08d5472480d4a1eab.tar.gz
barebox-786958b2caa42e489f03a2e08d5472480d4a1eab.tar.xz
imx_thermal: Fixed missing dependency for the IMX_THERMAL config
The temperature sensor driver for Freescale i.MX SoCs use internaly the OCOTP character device. If the config IMX_THERMAL is selected the OCOTP config was not selected and comes up with an error during booting. Signed-off-by: Eugen Wiens <eugen.wiens@jumo.net> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/aiodev/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
index 9f4fe60577..3eabd3b3ff 100644
--- a/drivers/aiodev/Kconfig
+++ b/drivers/aiodev/Kconfig
@@ -10,6 +10,8 @@ config IMX_THERMAL
tristate "Temperature sensor driver for Freescale i.MX SoCs"
depends on ARCH_IMX6
select MFD_SYSCON
+ select NVMEM
+ select IMX_OCOTP
help
Support for Temperature Monitor (TEMPMON) found on Freescale
i.MX SoCs.