summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/layouts/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvmem/layouts/Kconfig')
-rw-r--r--drivers/nvmem/layouts/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/nvmem/layouts/Kconfig b/drivers/nvmem/layouts/Kconfig
index 7ff1ee1c1f..9c6e672fc3 100644
--- a/drivers/nvmem/layouts/Kconfig
+++ b/drivers/nvmem/layouts/Kconfig
@@ -1,5 +1,11 @@
# SPDX-License-Identifier: GPL-2.0
+config NVMEM_LAYOUTS
+ bool
+ depends on OF
+
+if NVMEM_LAYOUTS
+
menu "Layout Types"
config NVMEM_LAYOUT_SL28_VPD
@@ -21,3 +27,5 @@ config NVMEM_LAYOUT_ONIE_TLV
If unsure, say N.
endmenu
+
+endif