disk: part_efi: parse and store partition UUID
authorStephen Warren <swarren@nvidia.com>
Fri, 21 Sep 2012 09:50:59 +0000 (09:50 +0000)
committerTom Rini <trini@ti.com>
Tue, 25 Sep 2012 22:05:44 +0000 (15:05 -0700)
commit894bfbbfb772de2f8640f91aee322f3cb2577cb7
treee75c671a8826b41d81059227868d0ef86b4557de
parentc04d68c69458526d30bd542ff2f8f83cc20ccfc5
disk: part_efi: parse and store partition UUID

Each EFI partition table entry contains a UUID. Extend U-Boot's struct
disk_partition to be able to store this information, and modify
get_partition_info_efi() to fill it in.

The implementation of uuid_string() was derived from the Linux kernel,
tag v3.6-rc4 file lib/vsprintf.c function uuid_string().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
disk/part.c
disk/part_efi.c
include/part.h