mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
lib: uuid: supporting building as part of host tools
Adjust the UUID library code so that it can be compiled as part of a host tool. This removes the one redundant log_debug() call, as well as the incorrectly defined LOG_CATEGORY. In general this is a fairly trivial change, just adjusting includes and disabling list_guid. This will be used by a new genguid tool to generate v5 GUIDs that match those generated by U-Boot at runtime. Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
2bf0a87ae3
commit
22c48a92cd
@@ -70,8 +70,8 @@ struct uuid {
|
||||
|
||||
/* Bits of a bitmask specifying the output format for GUIDs */
|
||||
#define UUID_STR_FORMAT_STD 0
|
||||
#define UUID_STR_FORMAT_GUID BIT(0)
|
||||
#define UUID_STR_UPPER_CASE BIT(1)
|
||||
#define UUID_STR_FORMAT_GUID 0x1
|
||||
#define UUID_STR_UPPER_CASE 0x2
|
||||
|
||||
/* Use UUID_STR_LEN + 1 for string space */
|
||||
#define UUID_STR_LEN 36
|
||||
|
||||
Reference in New Issue
Block a user