X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cmd%2Flzmadec.c;h=e3b9cc75ac2b9a90a383baa1e7e3b3b4f87ea2d8;hb=30f92ce9d5e895336f73cc1132a7fdc42e378353;hp=c78df825e84b6c6ea2a0300142d88de75f5fda81;hpb=499a950d41879020a186627874cf7aa856112ca5;p=oweals%2Fu-boot.git diff --git a/cmd/lzmadec.c b/cmd/lzmadec.c index c78df825e8..e3b9cc75ac 100644 --- a/cmd/lzmadec.c +++ b/cmd/lzmadec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2013 Patrice Bouchand * lzma uncompress command in Uboot @@ -6,12 +7,11 @@ * * (C) Copyright 2000 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include #include +#include #include #include @@ -42,7 +42,7 @@ static int do_lzmadec(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) return 1; printf("Uncompressed size: %ld = %#lX\n", (ulong)src_len, (ulong)src_len); - setenv_hex("filesize", src_len); + env_set_hex("filesize", src_len); return 0; }