efi: app: Add a simple-framebuffer node if enabled
The EFI app cannot make the EFI GOP available to Linux directly, since it calls exit-boot-services before booting Linux. The easiest way to provide an early console is with the simple-framebuffer feature. Add this node to the devicetree if the feature is enabled. Co-developed-by: Claude <noreply@anthropic.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -348,9 +348,11 @@ int ft_system_setup(void *fdt, struct bd_info *bd)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = fdt_simplefb_add_node(fdt);
|
||||
if (ret)
|
||||
log_warning("failed to set up simplefb\n");
|
||||
if (IS_ENABLED(CONFIG_FDT_SIMPLEFB)) {
|
||||
ret = fdt_simplefb_add_node(fdt);
|
||||
if (ret)
|
||||
log_warning("failed to set up simplefb\n");
|
||||
}
|
||||
|
||||
free(map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user