Commit 05f6da3fac8abf4356f4cc7ed5904943eec82535
Committed by
Tom Rini
1 parent
92e5cb804a
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
lib: uuid: Do not enable UUID command SPL
The uuid command is only really useful in U-Boot, but it's useless in SPL. Worse yet, it pulls in various environment manipulation functions as it call env_set(). Do not compile the command in in SPL. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/uuid.c
... | ... | @@ -271,7 +271,7 @@ |
271 | 271 | uuid_bin_to_str(uuid_bin, uuid_str, str_format); |
272 | 272 | } |
273 | 273 | |
274 | -#ifdef CONFIG_CMD_UUID | |
274 | +#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CMD_UUID) | |
275 | 275 | int do_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
276 | 276 | { |
277 | 277 | char uuid[UUID_STR_LEN + 1]; |