summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-29 16:14:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-02 11:02:22 +0100
commitcfbe97999213189e74fdd0f2fbbb00cba76fc458 (patch)
tree6bd5e4932da1109417e921061c64aeff83558e77 /drivers
parent00e86ecdb6ece16d8ec4dae0f50079041d9cd88c (diff)
downloadbarebox-cfbe97999213189e74fdd0f2fbbb00cba76fc458.tar.gz
barebox-cfbe97999213189e74fdd0f2fbbb00cba76fc458.tar.xz
ubootvarfs: depend on OFTREE
This driver can only be probed from DT and needs some OFTREE only functions to work correctly. Depend on the config option to make sure they are available. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 0f736f8bde..8abbf69b3a 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -25,6 +25,7 @@ config DEV_MEM
config UBOOTVAR
bool "U-Boot environment storage"
+ depends on OFTREE
help
This driver exposes U-Boot environment variable storage as a
single mmap-able device, hiding various low-level details