We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88163ad commit b59d931Copy full SHA for b59d931
src/libwolfboot.c
@@ -740,11 +740,6 @@ void RAMFUNCTION wolfBoot_update_trigger(void)
740
uint8_t selSec = 0;
741
#endif
742
743
- /* if PART_UPDATE_ENDFLAGS straddles a sector, (all non FLAGS_HOME builds)
744
- * align it to the correct sector */
745
- if (PART_UPDATE_ENDFLAGS % WOLFBOOT_SECTOR_SIZE == 0)
746
- lastSector -= WOLFBOOT_SECTOR_SIZE;
747
-
748
/* erase the sector flags */
749
if (FLAGS_UPDATE_EXT()) {
750
ext_flash_unlock();
0 commit comments