]> git.dujemihanovic.xyz Git - u-boot.git/commit
part_efi: move uuid<->string conversion functions into lib/uuid.c
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 2 Apr 2014 08:20:02 +0000 (10:20 +0200)
committerTom Rini <trini@ti.com>
Wed, 2 Apr 2014 19:44:40 +0000 (15:44 -0400)
commita96a0e6153e3d9071c1a4516bf3e94c4cd96c77c
tree31b51b7f6fc24fda1236a482527922ef0e975019
parent3f62971162370213271dc1e7a396b6b3a6d5b6c6
part_efi: move uuid<->string conversion functions into lib/uuid.c

This commit introduces cleanup for uuid library.
Changes:
- move uuid<->string conversion functions into lib/uuid.c so they can be
  used by code outside part_efi.c.
- rename uuid_string() to uuid_bin_to_str() for consistency with existing
  uuid_str_to_bin()
- add an error return code to uuid_str_to_bin()
- update existing code to the new library functions.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: trini@ti.com
disk/part_efi.c
include/common.h
lib/Makefile
lib/uuid.c