tools/env: allow overwrite of ethaddr on default
authorGrant Erickson <marathon96@gmail.com>
Thu, 22 Dec 2011 08:59:55 +0000 (08:59 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 5 Jan 2012 16:00:01 +0000 (17:00 +0100)
commitaa701b94336b358798d676eef12a7b90bdac23f5
tree9668dfa693be46dfda9c49cf90aeabfcfde79b7d
parent145afab32c3a049bd646d2eede5f2feba08576c6
tools/env: allow overwrite of ethaddr on default

This patch allows the U-Boot user space companion utility, fw_setenv,
to overwrite the 'ethaddr' key/value pair if the current value is set
to a per-board-configured default.

This change allows 'fw_setenv' to match the behavior of 'setenv' /
'env set' on the U-Boot command line.

Signed-off-by: Grant Erickson <marathon96@gmail.com>
Fixed excessive white space.
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/env/fw_env.c