diff options
| author | Marek Vasut <[email protected]> | 2021-10-06 18:29:53 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-10-25 14:29:37 -0400 |
| commit | f47f87f257b790bbc9b071de433324dab2305d7d (patch) | |
| tree | 6527d379bbee61b66c77ddd56ac1b85b7a433307 /scripts/checkstack.pl | |
| parent | 397b35f09794e40d62d5e4f53992e2a711dc8be1 (diff) | |
env: mmc: Add missing eMMC bootpart restoration to env erase
If the environment is stored in eMMC hardware boot partition, the environment
driver first stores the currently selected eMMC boot partition, then does the
requested operation, and then restores the original boot partition settings.
In case the environment operation fails, the boot partition settings are also
restored.
The 'env erase' implementation in the MMC environment driver lacks the path
which restores the boot partition. This could lead to various failure modes,
like the system boots the wrong copy of bootloader etc. Fix this by filling
in the missing restoration path.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
