spapr: Add "qemu, boot-menu" property to /chosen
This is required to enable boot menu display during booting Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
a60438ddd6
commit
cc84c0f357
@ -442,6 +442,9 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
|
|||||||
if (boot_device) {
|
if (boot_device) {
|
||||||
_FDT((fdt_property_string(fdt, "qemu,boot-device", boot_device)));
|
_FDT((fdt_property_string(fdt, "qemu,boot-device", boot_device)));
|
||||||
}
|
}
|
||||||
|
if (boot_menu) {
|
||||||
|
_FDT((fdt_property_cell(fdt, "qemu,boot-menu", boot_menu)));
|
||||||
|
}
|
||||||
_FDT((fdt_property_cell(fdt, "qemu,graphic-width", graphic_width)));
|
_FDT((fdt_property_cell(fdt, "qemu,graphic-width", graphic_width)));
|
||||||
_FDT((fdt_property_cell(fdt, "qemu,graphic-height", graphic_height)));
|
_FDT((fdt_property_cell(fdt, "qemu,graphic-height", graphic_height)));
|
||||||
_FDT((fdt_property_cell(fdt, "qemu,graphic-depth", graphic_depth)));
|
_FDT((fdt_property_cell(fdt, "qemu,graphic-depth", graphic_depth)));
|
||||||
|
Loading…
Reference in New Issue
Block a user