diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2013-04-08 10:32:50 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-11 15:52:54 -0400 |
commit | a7eb1d66c704c884584bf00548cfdf68abfe68bb (patch) | |
tree | 30cfb70d331bbbeda6e1d13c6737e5d15951d341 /lib/crc16.c | |
parent | 147162dac6506d2ed96ba5869772f87fb1f49a0b (diff) | |
download | u-boot-imx-a7eb1d66c704c884584bf00548cfdf68abfe68bb.zip u-boot-imx-a7eb1d66c704c884584bf00548cfdf68abfe68bb.tar.gz u-boot-imx-a7eb1d66c704c884584bf00548cfdf68abfe68bb.tar.bz2 |
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>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions