[U-Boot] [PATCH 0/2] env: Fix "env save" to malformed environment
Sam Protsenko
semen.protsenko at linaro.org
Fri Jan 18 19:19:02 UTC 2019
In case when environment is malformed (e.g. zeroed out), we are not
able to save new environment to that location. Let's fix that by not
considering the location with "bad CRC" environment as not accessible.
Sam Protsenko (2):
env: common: Return specific error code on bad CRC
env: Fix saving environment to "bad CRC" location
env/common.c | 4 ++--
env/env.c | 25 +++++++++++++++++++------
2 files changed, 21 insertions(+), 8 deletions(-)
--
2.20.1
More information about the U-Boot
mailing list