]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/m68k/lib/bootm.c
Stop passing around bootmem_base value.
[people/ms/u-boot.git] / arch / m68k / lib / bootm.c
index 76a2fb27c1b720c526d40ed665e829e93aac345b..1229ac7f255ba2b6067811368fcc47582ebe85de 100644 (file)
@@ -71,7 +71,6 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
        int ret;
 
        ulong cmd_start, cmd_end;
-       ulong bootmap_base;
        bd_t  *kbd;
        void  (*kernel) (bd_t *, ulong, ulong, ulong, ulong);
        struct lmb *lmb = &images->lmb;
@@ -79,17 +78,15 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
        if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
                return 1;
 
-       bootmap_base = getenv_bootm_low();
-
        /* allocate space and init command line */
-       ret = boot_get_cmdline (lmb, &cmd_start, &cmd_end, bootmap_base);
+       ret = boot_get_cmdline (lmb, &cmd_start, &cmd_end);
        if (ret) {
                puts("ERROR with allocation of cmdline\n");
                goto error;
        }
 
        /* allocate space for kernel copy of board info */
-       ret = boot_get_kbd (lmb, &kbd, bootmap_base);
+       ret = boot_get_kbd (lmb, &kbd);
        if (ret) {
                puts("ERROR with allocation of kernel bd\n");
                goto error;