[U-Boot] [PATCH 3/5] mtd: Make mtdparts work with pre-reloc env

Stefan Roese stefan.roese at gmail.com
Mon Feb 11 11:53:22 CET 2013


On 02/08/2013 09:07 PM, Joe Hershberger wrote:
> The env in UBI needs to look up the mtd partition as part of relocation,
> which happens before relocation.  Make the mtdparts code capable of
> working on the default env to start with.
> 
> The code tries to set values in the env as well, but again, the env
> isn't there yet, so add a check to setenv to not allow sets before the
> env is relocated.
> 
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>

Looks good:

Acked-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan



More information about the U-Boot mailing list