[v3, 7/7] misc: update API documentation for bit field support in NVMEM

Simon Glass sjg at chromium.org
Tue Mar 31 21:52:33 CEST 2026


Hi Aswin,

On 2026-03-30T17:14:12, Aswin Murugan <aswin.murugan at oss.qualcomm.com> wrote:
[..]
> diff --git a/include/nvmem.h b/include/nvmem.h
> @@ -47,9 +47,19 @@ struct udevice;
> + * - Requires @size == sizeof(u32) and @cell->size <= 4

How about '@cell->size <= sizeof(u32)', rather than mixing the
symbolic form and the magic number 4.

Regards,
Simon


More information about the U-Boot mailing list