Skip to content

Commit 476d1c8

Browse files
dgarskedanielinux
authored andcommitted
Gramar fix partitions -> partition.
1 parent 9451b47 commit 476d1c8

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
@@ -2601,7 +2601,7 @@ Boot header magic 0x00000000 invalid at 0x20000128
26012601
Copy sector 1 (part 1->2)
26022602
Copy sector 1 (part 0->1)
26032603
Copy sector 1 (part 2->0)
2604-
Erasing remainder of partitions (235 sectors)...
2604+
Erasing remainder of partition (235 sectors)...
26052605
Boot partition: 0xC000 (sz 4832, ver 0x2, type 0x201)
26062606
Boot header magic 0x00000000 invalid at 0x20000128
26072607
Copy sector 236 (part 0->2)
@@ -2643,7 +2643,7 @@ Copy sector 1 (part 2->0)
26432643
Copy sector 2 (part 1->2)
26442644
Copy sector 2 (part 0->1)
26452645
Copy sector 2 (part 2->0)
2646-
Erasing remainder of partitions (88 sectors)...
2646+
Erasing remainder of partition (88 sectors)...
26472647
Boot partition: 0x100C000 (sz 4120, ver 0x2, type 0x202)
26482648
Update partition: 0x100000 (sz 4120, ver 0x1, type 0x201)
26492649
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)