xref: /linux/drivers/nvmem/layouts/u-boot-env.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H
4 #define _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H
5 
6 enum u_boot_env_format {
7 	U_BOOT_FORMAT_SINGLE,
8 	U_BOOT_FORMAT_REDUNDANT,
9 	U_BOOT_FORMAT_BROADCOM,
10 };
11 
12 int u_boot_env_parse(struct device *dev, struct nvmem_device *nvmem,
13 		     enum u_boot_env_format format);
14 
15 #endif  /* ifndef _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H */
16