xref: /linux/drivers/nvmem/layouts/Kconfig (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1266570f4SMichael Walle# SPDX-License-Identifier: GPL-2.0
2266570f4SMichael Walle
3fc29fd82SMiquel Raynalconfig NVMEM_LAYOUTS
4fc29fd82SMiquel Raynal	bool
5fc29fd82SMiquel Raynal	depends on OF
6fc29fd82SMiquel Raynal
7fc29fd82SMiquel Raynalif NVMEM_LAYOUTS
8fc29fd82SMiquel Raynal
9266570f4SMichael Wallemenu "Layout Types"
10266570f4SMichael Walle
11d9fae023SMichael Walleconfig NVMEM_LAYOUT_SL28_VPD
12d9fae023SMichael Walle	tristate "Kontron sl28 VPD layout support"
13d9fae023SMichael Walle	select CRC8
14d9fae023SMichael Walle	help
15d9fae023SMichael Walle	  Say Y here if you want to support the VPD layout of the Kontron
16d9fae023SMichael Walle	  SMARC-sAL28 boards.
17d9fae023SMichael Walle
18d9fae023SMichael Walle	  If unsure, say N.
19d9fae023SMichael Walle
20d3c0d12fSMiquel Raynalconfig NVMEM_LAYOUT_ONIE_TLV
21d3c0d12fSMiquel Raynal	tristate "ONIE tlv support"
22d3c0d12fSMiquel Raynal	select CRC32
23d3c0d12fSMiquel Raynal	help
24d3c0d12fSMiquel Raynal	  Say Y here if you want to support the Open Compute Project ONIE
25d3c0d12fSMiquel Raynal	  Type-Length-Value standard table.
26d3c0d12fSMiquel Raynal
27d3c0d12fSMiquel Raynal	  If unsure, say N.
28d3c0d12fSMiquel Raynal
29*5f158112SRafał Miłeckiconfig NVMEM_LAYOUT_U_BOOT_ENV
30*5f158112SRafał Miłecki	tristate "U-Boot environment variables layout"
31*5f158112SRafał Miłecki	select CRC32
32*5f158112SRafał Miłecki	select GENERIC_NET_UTILS
33*5f158112SRafał Miłecki	help
34*5f158112SRafał Miłecki	  U-Boot stores its setup as environment variables. This driver adds
35*5f158112SRafał Miłecki	  support for verifying & exporting such data. It also exposes variables
36*5f158112SRafał Miłecki	  as NVMEM cells so they can be referenced by other drivers.
37*5f158112SRafał Miłecki
38*5f158112SRafał Miłecki	  If unsure, say N.
39*5f158112SRafał Miłecki
40266570f4SMichael Walleendmenu
41fc29fd82SMiquel Raynal
42fc29fd82SMiquel Raynalendif
43