]> git.sur5r.net Git - u-boot/blobdiff - cmd/booti.c
Merge git://git.denx.de/u-boot-dm
[u-boot] / cmd / booti.c
index 0be786cb6bfb4c08b34e54973849344915d7e910..04353b68eccc0d73d62c44128016da883fd9a5c5 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2000-2009
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -14,8 +13,6 @@
 #include <linux/kernel.h>
 #include <linux/sizes.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /*
  * Image booting support
  */
@@ -37,11 +34,10 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc,
                                load_addr);
        } else {
                ld = simple_strtoul(argv[0], NULL, 16);
-               debug("*  kernel: cmdline image address = 0x%08lx\n",
-                       images->ep);
+               debug("*  kernel: cmdline image address = 0x%08lx\n", ld);
        }
 
-       ret = booti_setup(ld, &relocated_addr, &image_size);
+       ret = booti_setup(ld, &relocated_addr, &image_size, false);
        if (ret != 0)
                return 1;