mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
92e5cb804a
commit
05f6da3fac
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ void gen_rand_uuid_str(char *uuid_str, int str_format)
|
|||
uuid_bin_to_str(uuid_bin, uuid_str, str_format);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CMD_UUID
|
||||
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CMD_UUID)
|
||||
int do_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
{
|
||||
char uuid[UUID_STR_LEN + 1];
|
||||
|
|
Loading…
Reference in a new issue