]> git.sur5r.net Git - u-boot/commit
tools/env: Serialize calls to fw_*env
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 3 Oct 2012 09:38:49 +0000 (09:38 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:05 +0000 (11:54 -0700)
commite4a223f04de2e271682f26d7b981c0012f6a459f
tree61f1e3cdd6a2e1f92180c3708fc832bf10472610
parentd9acae1a880a52b3a6ad24af8c7f8312e59ea9b1
tools/env: Serialize calls to fw_*env

Use a lock file at /var/lock/fw_printenv.lock.
Avoids seriously confusing the MTD driver.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
tools/env/fw_env_main.c