Debian Codegraph @

drivers/nvmem/layouts/u-boot-env.h

raw
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 */