]> Git Repo - J-u-boot.git/blobdiff - cmd/strings.c
Subtree merge tag 'v6.12-dts' of dts repo [1] into dts/upstream
[J-u-boot.git] / cmd / strings.c
index 85fdc34f08fe893109e4fe26a28e7a532755721a..5bcb0f2b567cd4526116d6c3fdd31482eb18155b 100644 (file)
@@ -7,8 +7,8 @@
  */
 
 #include <config.h>
-#include <common.h>
 #include <command.h>
+#include <vsprintf.h>
 
 static char *start_addr, *last_addr;
 
@@ -18,9 +18,9 @@ int do_strings(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
                return CMD_RET_USAGE;
 
        if ((flag & CMD_FLAG_REPEAT) == 0) {
-               start_addr = (char *)simple_strtoul(argv[1], NULL, 16);
+               start_addr = (char *)hextoul(argv[1], NULL);
                if (argc > 2)
-                       last_addr = (char *)simple_strtoul(argv[2], NULL, 16);
+                       last_addr = (char *)hextoul(argv[2], NULL);
                else
                        last_addr = (char *)-1;
        }
This page took 0.026602 seconds and 4 git commands to generate.