]> Git Repo - J-u-boot.git/blobdiff - cmd/zip.c
board: stm32mp1: Remove gpio_hog_probe_all() from board
[J-u-boot.git] / cmd / zip.c
index 8ad3768464764d35f174a6d0489b6301dd7c969f..08afd62b973d88b505035e8fd8bcd02e9b1e593e 100644 (file)
--- a/cmd/zip.c
+++ b/cmd/zip.c
@@ -16,12 +16,12 @@ static int do_zip(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 
        switch (argc) {
                case 5:
-                       dst_len = simple_strtoul(argv[4], NULL, 16);
+                       dst_len = hextoul(argv[4], NULL);
                        /* fall through */
                case 4:
-                       src = simple_strtoul(argv[1], NULL, 16);
-                       src_len = simple_strtoul(argv[2], NULL, 16);
-                       dst = simple_strtoul(argv[3], NULL, 16);
+                       src = hextoul(argv[1], NULL);
+                       src_len = hextoul(argv[2], NULL);
+                       dst = hextoul(argv[3], NULL);
                        break;
                default:
                        return cmd_usage(cmdtp);
This page took 0.027629 seconds and 4 git commands to generate.