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

Source file repositories/reference/linux-study-clean/drivers/nvmem/layouts/u-boot-env.h

File Facts

System
Linux kernel
Corpus path
drivers/nvmem/layouts/u-boot-env.h
Extension
.h
Size
397 bytes
Lines
16
Domain
Driver Families
Bucket
drivers/nvmem
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H
#define _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H

enum u_boot_env_format {
	U_BOOT_FORMAT_SINGLE,
	U_BOOT_FORMAT_REDUNDANT,
	U_BOOT_FORMAT_BROADCOM,
};

int u_boot_env_parse(struct device *dev, struct nvmem_device *nvmem,
		     enum u_boot_env_format format);

#endif  /* ifndef _LINUX_NVMEM_LAYOUTS_U_BOOT_ENV_H */

Annotation

Implementation Notes