summaryrefslogtreecommitdiff
path: root/configs/Orangepi_defconfig
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2018-09-27 22:45:26 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2019-12-20 10:02:24 -0600
commitc62e6142b95045621fc229d34f40bd8d0e41160a (patch)
treeee87cb01d104057c94b32ae95c012c69d415b362 /configs/Orangepi_defconfig
parent1785d8c3a5f396f7f81f029d8828908229bff87e (diff)
fw_setenv: avoid writing environment when nothing has changed
In the case where one deletes an already-non-existing variable, or sets a variable to the value it already has, there is no point in writing the environment back, thus reducing wear on the underlying storage device. In the case of redundant environments, if the two environments differ (e.g. because one is corrupt), make sure that any call of fw_setenv causes the two to become synchronized, even if the fw_setenv call does not change anything in the good copy. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'configs/Orangepi_defconfig')
0 files changed, 0 insertions, 0 deletions