spapr: Add "qemu, boot-menu" property to /chosen
PATCH 2/3 spapr: Add "qemu, boot-menu" property to /chosen
From: Avik Sil <[email protected]>
This is required to enable boot menu display during booting
Signed-off-by Avik Sil <[email protected]>
Signed-off-by Nikunj A Dadhania <[email protected]>
--- hw/ppc/spapr.c | 3 +++ 1 file changed, 3 insertions(+)
hw/ppc/spapr.c +3 -0
@@ -376,6 +376,9 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,if (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-height" , graphic_height)));_FDT ((fdt_property_cell (fdt,"qemu,graphic-depth" , graphic_depth)));
Signature · 1 line
1.8.3.1
Alexander Graf
AppliedQuoted 6 lines · Nikunj A Dadhania
From: Avik Sil <[email protected]>
This is required to enable boot menu display during booting
Signed-off-by Avik Sil <[email protected]>Signed-off-by Nikunj A Dadhania <[email protected]>
Thanks, applied to ppc-next.
Alex