Skip to content
Snippets Groups Projects
Commit 23ef62d7 authored by Oliver Metz's avatar Oliver Metz Committed by Tom Rini
Browse files

fw_env: add redundant env support for MTD_ABSENT

parent a82ca7bc
No related branches found
No related tags found
No related merge requests found
...@@ -1136,6 +1136,9 @@ int fw_env_open(void) ...@@ -1136,6 +1136,9 @@ int fw_env_open(void)
} else if (DEVTYPE(dev_current) == MTD_UBIVOLUME && } else if (DEVTYPE(dev_current) == MTD_UBIVOLUME &&
DEVTYPE(!dev_current) == MTD_UBIVOLUME) { DEVTYPE(!dev_current) == MTD_UBIVOLUME) {
environment.flag_scheme = FLAG_INCREMENTAL; environment.flag_scheme = FLAG_INCREMENTAL;
} else if (DEVTYPE(dev_current) == MTD_ABSENT &&
DEVTYPE(!dev_current) == MTD_ABSENT) {
environment.flag_scheme = FLAG_INCREMENTAL;
} else { } else {
fprintf (stderr, "Incompatible flash types!\n"); fprintf (stderr, "Incompatible flash types!\n");
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment