xref: /linux/drivers/nvmem/layouts/Kconfig (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0
2
3config NVMEM_LAYOUTS
4	bool
5	depends on OF
6
7if NVMEM_LAYOUTS
8
9menu "Layout Types"
10
11config NVMEM_LAYOUT_SL28_VPD
12	tristate "Kontron sl28 VPD layout support"
13	select CRC8
14	help
15	  Say Y here if you want to support the VPD layout of the Kontron
16	  SMARC-sAL28 boards.
17
18	  If unsure, say N.
19
20config NVMEM_LAYOUT_ONIE_TLV
21	tristate "ONIE tlv support"
22	select CRC32
23	help
24	  Say Y here if you want to support the Open Compute Project ONIE
25	  Type-Length-Value standard table.
26
27	  If unsure, say N.
28
29config NVMEM_LAYOUT_U_BOOT_ENV
30	tristate "U-Boot environment variables layout"
31	select CRC32
32	select GENERIC_NET_UTILS
33	help
34	  U-Boot stores its setup as environment variables. This driver adds
35	  support for verifying & exporting such data. It also exposes variables
36	  as NVMEM cells so they can be referenced by other drivers.
37
38	  If unsure, say N.
39
40endmenu
41
42endif
43