]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: partition numbers are hexadecimal
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 25 May 2021 16:00:13 +0000 (18:00 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 8 Jun 2021 22:16:39 +0000 (00:16 +0200)
commitc1bb277f87ac752aad25cc99d09170db6961a0ee
tree7b47d1e10ef56c45cd23ed85bb90aa16d83d5e7b
parentae493ea4dfd6c612b6083873750b602efebf9fa7
efi_loader: partition numbers are hexadecimal

If we want to address partition 15 of virtio block device 11, we have to
write:

virtio b:f

When calling sprintf() we must use %x for the device and partition numbers.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c
lib/efi_loader/efi_var_file.c