summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@boundarydevices.com>2020-08-27 10:51:14 +0200
committerMarek Vasut <marex@denx.de>2020-09-01 14:47:43 +0200
commit293a6dfeb96129abebf1ad927fa9aedf03a66d34 (patch)
treee3ff28a24447b39d509a142ce126f2da6a39d153 /arch
parent64af06ce91d1b2f7819a273e56f7c41186a7588b (diff)
fastboot: getvar: fix partition-size return value
The size returned by 'getvar partition-size' should be in bytes, not in blocks as fastboot uses that value to generate empty partition when running format [1]. Note that the function was already returning the proper size in bytes for NAND devices (see struct part_info details). [1] https://android.googlesource.com/platform/system/core/+/refs/heads/android10-release/fastboot/fastboot.cpp#1500 Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions