[U-Boot] [U-Boot, v6, 2/6] lib: uuid: code refactor for proper maintain between uuid bin and string
Tom Rini
trini at ti.com
Wed Apr 2 23:18:44 CEST 2014
On Wed, Apr 02, 2014 at 10:20:03AM +0200, Przemyslaw Marczak wrote:
> Changes in lib/uuid.c to:
> - uuid_str_to_bin()
> - uuid_bin_to_str()
>
> New parameter is added to specify input/output string format in listed functions
> This change allows easy recognize which UUID type is or should be stored in given
> string array. Binary data of UUID and GUID is always stored in big endian, only
> string representations are different as follows.
>
> String byte: 0 36
> String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
> string UUID: be be be be be
> string GUID: le le le be be
>
> This patch also updates functions calls and declarations in a whole code.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Stephen Warren <swarren at nvidia.com>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> Cc: trini at ti.com
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140402/58c6a6a8/attachment.pgp>
More information about the U-Boot
mailing list