Skip to content
Snippets Groups Projects
Commit a7eb1d66 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini
Browse files

mtd: Make mtdparts work with pre-reloc env


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: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 147162da
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment