diff options
author | Roman Stratiienko <roman.stratiienko@globallogic.com> | 2019-09-20 16:59:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-04 19:21:23 +0300 |
commit | 400b9554cc3ef6d301940d43a2a6f9c098df5fb9 (patch) | |
tree | cfbf3c57768a812e3298555b7f182ef55a12a2d4 /configs/mx7dsabresd_defconfig | |
parent | 46f0d9c46b790d8eb1903e1da69ee375efbbe21a (diff) | |
download | u-boot-400b9554cc3ef6d301940d43a2a6f9c098df5fb9.tar.xz |
cmd: part: number: return hexadecimal value
At this point we are using part number sub-command to retrieve UUID
of the partition using it's name.
e.g.:
part number mmc $mmcdev system_a system_a_index
part uuid mmc $mmcdev:${system_a_index} system_a_uuid
Since 'part uuid' sub-command expects partition index in hex format and
'part number' returns decimal value, 'part uuid' command will provide
wrong UUID or fail.
Fixes: be683756f62034 ("cmd: part: Add 'number' sub-command")
Cc: Dirk Behme <dirk.behme@de.bosch.com>
Reported-by: Pontus Fuchs <pontus.fuchs@se.bosch.com>
Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Diffstat (limited to 'configs/mx7dsabresd_defconfig')
0 files changed, 0 insertions, 0 deletions