Skip to content
Commit 9e60753a authored by Harry Waschkeit's avatar Harry Waschkeit Committed by Tom Rini
Browse files

env: sf: add support for env erase



One new function env_sf_erase() is added to support clearing flash
region(s) holding environment configuration.

It treats redundant configuration properly when U-Boot config option
SYS_REDUNDAND_ENVIRONMENT is active.

Unfortunately, none of the #if CONFIG_IS_ENABLED() sections can be
avoided.

Signed-off-by: default avatarHarry Waschkeit <Harry.Waschkeit@men.de>
parent 4a6c13e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment