[PATCH 2/2] nvmem: add driver handling U-Boot environment variables

Miquel Raynal miquel.raynal at bootlin.com
Mon Apr 11 12:04:56 CEST 2022


Hi Srinivas,

srinivas.kandagatla at linaro.org wrote on Mon, 11 Apr 2022 10:45:53 +0100:

> On 11/04/2022 09:59, Miquel Raynal wrote:
> > On Wed, 2022-04-06 at 14:32:25 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote:  
> >> From: Rafał Miłecki <rafal at milecki.pl>
> >>
> >> U-Boot stores its setup as environment variables. It's a list of
> >> key-value pairs stored on flash device with a custom header.
> >>
> >> This commit adds an NVMEM driver that:
> >> 1. Provides NVMEM access to environment vars binary data
> >> 2. Extracts variables as NVMEM cells
> >>
> >> It can be used for:
> >> 1. Accessing env variables from user-space
> >> 2. Reading NVMEM cells by Linux drivers
> >>
> >> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>  
> > 
> > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.  
> 
> Hi Miquel,
> 
> Any reason why this nvmem driver is taken via mtd tree?
> 
> This is going to conflict with other nvmem patches that are touching KConfig and Makefile

Sorry I selected it by mistake. I'll let you take it through nvmem
unless there is still something missing on your side?

Anyway, it's now dropped from mtd.

Thanks,
Miquèl


More information about the U-Boot mailing list