[PATCH] fw_env: add fallback to Linux's NVMEM based access

Tom Rini trini at konsulko.com
Fri Jul 8 18:39:02 CEST 2022


On Thu, Jun 16, 2022 at 08:59:03PM +0200, Rafał Miłecki wrote:

> From: Rafał Miłecki <rafal at milecki.pl>
> 
> A new DT binding for describing environment data block has been added in
> Linux's commit 5db1c2dbc04c ("dt-bindings: nvmem: add U-Boot environment
> variables binding"). Once we get a proper Linux NVMEM driver it'll be
> possible to use Linux's binary interface for user-space as documented
> in the:
> https://www.kernel.org/doc/html/latest/driver-api/nvmem.html
> 
> This commits makes fw_env fallback to looking for a compatible NVMEM
> device in case config file isn't present. In a long term this may make
> config files redundant and avoid code (info) duplication.
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220708/c4cddb17/attachment.sig>


More information about the U-Boot mailing list