Skip to content

Commit 22d021f

Browse files
committed
Gramar fix partitions -> partition.
1 parent a63d2a1 commit 22d021f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/Targets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2453,7 +2453,7 @@ Boot header magic 0x00000000 invalid at 0x20000128
24532453
Copy sector 1 (part 1->2)
24542454
Copy sector 1 (part 0->1)
24552455
Copy sector 1 (part 2->0)
2456-
Erasing remainder of partitions (235 sectors)...
2456+
Erasing remainder of partition (235 sectors)...
24572457
Boot partition: 0xC000 (sz 4832, ver 0x2, type 0x201)
24582458
Boot header magic 0x00000000 invalid at 0x20000128
24592459
Copy sector 236 (part 0->2)
@@ -2495,7 +2495,7 @@ Copy sector 1 (part 2->0)
24952495
Copy sector 2 (part 1->2)
24962496
Copy sector 2 (part 0->1)
24972497
Copy sector 2 (part 2->0)
2498-
Erasing remainder of partitions (88 sectors)...
2498+
Erasing remainder of partition (88 sectors)...
24992499
Boot partition: 0x100C000 (sz 4120, ver 0x2, type 0x202)
25002500
Update partition: 0x100000 (sz 4120, ver 0x1, type 0x201)
25012501
Copy sector 90 (part 0->2)

src/update_flash.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed)
777777
}
778778
}
779779

780-
/* Erase remainder of partitions */
780+
/* Erase remainder of partition */
781781
#if defined(WOLFBOOT_FLASH_MULTI_SECTOR_ERASE) || defined(PRINTF_ENABLED)
782782
/* calculate number of remaining bytes */
783783
/* reserve 1 sector for status (2 sectors for NV write once) */
@@ -787,7 +787,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed)
787787
size = WOLFBOOT_PARTITION_SIZE - (sector * sector_size) - sector_size;
788788
#endif
789789

790-
wolfBoot_printf("Erasing remainder of partitions (%d sectors)...\n",
790+
wolfBoot_printf("Erasing remainder of partition (%d sectors)...\n",
791791
size/sector_size);
792792
#endif
793793

0 commit comments

Comments
 (0)