mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-28 14:13:28 +08:00
a40297d741
Currently U-Boot reports the same error message in all below cases:
[A] host> fastboot getvar partition-type
[B] host> fastboot getvar partition-size
[C] host> fastboot getvar partition-type:
[D] host> fastboot getvar partition-size:
[E] host> fastboot getvar partition-type:<invalid-part>
[F] host> fastboot getvar partition-size:<invalid-part>
The message looks like:
host> fastboot getvar partition-size:
getvar:partition-size: FAILED (remote: partition not found)
Finished. Total time: 0.003s
Be more user friendly and output:
- "partition not given" for [A-D]
- "partition not found" for [E-F]
Fixes:
|
||
---|---|---|
.. | ||
fb_command.c | ||
fb_common.c | ||
fb_getvar.c | ||
fb_mmc.c | ||
fb_nand.c | ||
Kconfig | ||
Makefile |