tools/env/fw_printenv: Make redundant env work on locked flashes also
authorDetlev Zundel <dzu@denx.de>
Fri, 30 Jul 2010 09:22:15 +0000 (11:22 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 8 Aug 2010 23:05:37 +0000 (01:05 +0200)
commit0aef7bc71971266aa60ee17aa75add432dd4ca48
treefef4049e52cc23740cfe67e4ac41106dbcdded1e
parenta4e8d9f5f957c7e3972ca9d25f17de5f8acd8244
tools/env/fw_printenv: Make redundant env work on locked flashes also

The invalidation of the old environment instance did not work for flashes
supporting hardware locking.  Now we unlock/lock around this update also.

Signed-off-by: Detlev Zundel <dzu@denx.de>
tools/env/fw_env.c