Commit 6e7d221
committed
[nrf fromtree] bootutil: Fix scratch scrambling
This commit fixes the scrambling of the scratch area after
persisting a trailer to the primary slot. Previous use of
boot_erase_region() didn't guarantee that the scratch area is
scrambled, as it only erases memory for devices that selects
CONFIG_MCUBOOT_STORAGE_WITH_ERASE.
Signed-off-by: Michal Kozikowski <[email protected]>
(cherry picked from commit 800868a)1 parent c72ed15 commit 6e7d221
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
929 | | - | |
| 929 | + | |
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
| |||
0 commit comments