Revision 5a4348d1 hw/microblaze/boot.c
b/hw/microblaze/boot.c | ||
---|---|---|
79 | 79 |
} |
80 | 80 |
|
81 | 81 |
if (kernel_cmdline) { |
82 |
r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs",
|
|
83 |
kernel_cmdline);
|
|
82 |
r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs",
|
|
83 |
kernel_cmdline); |
|
84 | 84 |
if (r < 0) { |
85 | 85 |
fprintf(stderr, "couldn't set /chosen/bootargs\n"); |
86 | 86 |
} |
87 | 87 |
} |
88 | 88 |
|
89 | 89 |
if (initrd_start) { |
90 |
qemu_devtree_setprop_cell(fdt, "/chosen", "linux,initrd-start",
|
|
91 |
initrd_start);
|
|
90 |
qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start",
|
|
91 |
initrd_start); |
|
92 | 92 |
|
93 |
qemu_devtree_setprop_cell(fdt, "/chosen", "linux,initrd-end",
|
|
94 |
initrd_end);
|
|
93 |
qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end",
|
|
94 |
initrd_end); |
|
95 | 95 |
} |
96 | 96 |
|
97 | 97 |
cpu_physical_memory_write(addr, fdt, fdt_size); |
Also available in: Unified diff