diff options
| author | Simon Glass <sjg@chromium.org> | 2025-03-15 14:25:49 +0000 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-04-03 11:41:55 -0600 |
| commit | 0b9e517aafc2cfa1b5ab1af2b82983fd895b7be3 (patch) | |
| tree | 2729c7dbe7a902ba795a09ca72471d28a6ffe4cd /tools/patman | |
| parent | b23f0a42c33569298011ae643babfd2609ecf40a (diff) | |
test/py: Correct sizing of created disks
At present the disks end up being 1MB shorter than they should be,
since dd truncates by default.
Move the code into a function and update it to avoid truncation.
This resolves various warnings when running sandbox tests, of the form:
mmc_bread() MMC: block number 0x9801 exceeds max(0x9800)
caused by the FAT partition being scanning.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman')
0 files changed, 0 insertions, 0 deletions
