]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: cros: store partition type in an efi_guid_t
authorVincent Stehlé <vincent.stehle@arm.com>
Wed, 3 Jul 2024 11:37:56 +0000 (13:37 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jul 2024 23:09:33 +0000 (17:09 -0600)
commit1b1b1e7f6038047d425a75756333cadd037b3f64
treed303c265971f3a9d7df301c954cfb83a4232a55e
parent0a1bf35f5f0750ae281aaaa6305c4fedbeb6e47e
bootstd: cros: store partition type in an efi_guid_t

The scan_part() function uses a struct uuid to store the little-endian
partition type GUID, but this structure should be used only to contain a
big-endian UUID. Use an efi_guid_t instead and use guidcmp() for the
comparison.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
boot/bootmeth_cros.c