Commit 58b3eef
committed
ptool: Dynamically erase backup partition table based on sector size
Erase backup GPT sectors dynamically based on sector size.
Use 33 sectors for 512-byte and 5 for 4096-byte configurations.
Ensure accurate and adaptable erase operations.
Signed-off-by: Xiaoming Zhao <[email protected]>1 parent c28472b commit 58b3eef
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
| 783 | + | |
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| |||
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
795 | | - | |
| 795 | + | |
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| |||
0 commit comments