]> Git Repo - J-u-boot.git/blobdiff - cmd/bootz.c
cmd: fpga: Convert to use fit_get_data_node
[J-u-boot.git] / cmd / bootz.c
index bc15fd8ec47f1ba72a459fb69530a121e9eb4592..4f024bde5fe366bf0f3c3e31da428b24ef2b5dbd 100644 (file)
@@ -39,7 +39,7 @@ static int bootz_start(struct cmd_tbl *cmdtp, int flag, int argc,
                debug("*  kernel: default image load address = 0x%08lx\n",
                                image_load_addr);
        } else {
-               images->ep = simple_strtoul(argv[0], NULL, 16);
+               images->ep = hextoul(argv[0], NULL);
                debug("*  kernel: cmdline image address = 0x%08lx\n",
                        images->ep);
        }
@@ -54,7 +54,7 @@ static int bootz_start(struct cmd_tbl *cmdtp, int flag, int argc,
         * Handle the BOOTM_STATE_FINDOTHER state ourselves as we do not
         * have a header that provide this informaiton.
         */
-       if (bootm_find_images(flag, argc, argv))
+       if (bootm_find_images(flag, argc, argv, images->ep, zi_end - zi_start))
                return 1;
 
        return 0;
This page took 0.026983 seconds and 4 git commands to generate.