]> git.sur5r.net Git - u-boot/blobdiff - lib/uuid.c
efi_loader: if EFI_LOADER is enabled, enable CFB_CONSOLE_ANSI
[u-boot] / lib / uuid.c
index c8584edcb861ad7e15ad207a8a27d83e822be56a..5d5adf6b2dfcf90f7794a14fbffd251d712deae0 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2011 Calxeda, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -291,7 +290,7 @@ int do_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        if (argc == 1)
                printf("%s\n", uuid);
        else
-               setenv(argv[1], uuid);
+               env_set(argv[1], uuid);
 
        return CMD_RET_SUCCESS;
 }