Revision 05f92404 hw/ppc405_boards.c

b/hw/ppc405_boards.c
187 187
    target_ulong kernel_base, kernel_size, initrd_base, initrd_size;
188 188
    int linux_boot;
189 189
    int fl_idx, fl_sectors, len;
190
    int ppc_boot_device = boot_device[0];
191 190
    DriveInfo *dinfo;
192 191

  
193 192
    /* XXX: fix this */
......
326 325
        }
327 326
        env->gpr[4] = initrd_base;
328 327
        env->gpr[5] = initrd_size;
329
        ppc_boot_device = 'm';
330 328
        if (kernel_cmdline != NULL) {
331 329
            len = strlen(kernel_cmdline);
332 330
            bdloc -= ((len + 255) & ~255);
......
508 506
    target_ulong kernel_base, kernel_size, initrd_base, initrd_size;
509 507
    int linux_boot;
510 508
    int fl_idx, fl_sectors;
511
    int ppc_boot_device = boot_device[0];
512 509
    DriveInfo *dinfo;
513 510

  
514 511
    /* RAM is soldered to the board so the size cannot be changed */
......
625 622
            initrd_base = 0;
626 623
            initrd_size = 0;
627 624
        }
628
        ppc_boot_device = 'm';
629 625
    } else {
630 626
        kernel_base = 0;
631 627
        kernel_size = 0;

Also available in: Unified diff