commit | a7eb1d66c704c884584bf00548cfdf68abfe68bb | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Mon Apr 08 10:32:50 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Thu Apr 11 15:52:54 2013 -0400 |
tree | 30cfb70d331bbbeda6e1d13c6737e5d15951d341 | |
parent | 147162dac6506d2ed96ba5869772f87fb1f49a0b [diff] |
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: Joe Hershberger <joe.hershberger@ni.com>