Commit 9527f3e
committed
fw/system/firmware_storage: fix slot invalidation
To invalidate a slot it is sufficient to erase its first sector. Reading the
firmware header is pointless (and dangerous without any validation!), e.g. if
already erased.
Signed-off-by: Gerard Marull-Paretas <[email protected]>1 parent dd6d058 commit 9527f3e
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
| 81 | + | |
| 82 | + | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
0 commit comments