]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: let gpt_partition_entry be hexadecimal
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Aug 2023 01:53:43 +0000 (03:53 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 27 Aug 2023 06:21:08 +0000 (08:21 +0200)
commit2b7b268d2c108925c35c86adb2a5201f6ce0e32a
treebd3305e51e5c61cb85e720872766bd5eef015b4d
parentf25ec6574b89bdf5013460ae5fe5e6b16bfa58c4
cmd: let gpt_partition_entry be hexadecimal

In commands like 'ls mmc 0:f' the partition number is hexadecimal.

In command 'gpt setenv' variable gpt_partition_entry needs to be set
to a hexadecimal value to allow its use as a parameter in a
subsequent command.

Fixes: 57f8cf1b9aea ("cmd: fix gpt enumerate")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/gpt.c