[U-Boot] [PATCH v2 4/5] tools/env: Serialize calls to fw_*env

2012-10-03 Thread Joe Hershberger
Use a lock file at /var/lock/fw_printenv.lock. Avoids seriously confusing the MTD driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- tools/env/fw_env_main.c | 59 +++-- 1 file changed, 37 insertions(+), 22 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 4/5] tools/env: Serialize calls to fw_*env

2012-10-03 Thread uboot
On Wed, Oct 03, 2012 at 02:38:49PM -0500, Joe Hershberger wrote: Use a lock file at /var/lock/fw_printenv.lock. Avoids seriously confusing the MTD driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- tools/env/fw_env_main.c | 59