From: Olivier Martin Date: Wed, 13 May 2015 18:23:26 +0000 (+0000) Subject: EmbeddedPkg/FdtPlatformDxe: Do not exit if RunFdtInstallation() fails X-Git-Tag: edk2-stable201903~9815 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=48cb53cf41b2567dfe5c6b8016058e53fe0df7db EmbeddedPkg/FdtPlatformDxe: Do not exit if RunFdtInstallation() fails If the device trees are not present when loading FdtPLatformDxe driver then we should prevent to install the EFI Shell FDT commands. The EFI Shell commands could be used later to install the missing device tree. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin Reviewed-by: Ronald Cron git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17441 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c b/EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c index fb2ae6071a..b4be2a0789 100644 --- a/EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c +++ b/EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c @@ -170,9 +170,6 @@ FdtPlatformEntryPoint ( // Install the Device Tree from its expected location // Status = RunFdtInstallation (NULL); - if (EFI_ERROR (Status)) { - return Status; - } if (FeaturePcdGet (PcdOverridePlatformFdt) || FeaturePcdGet (PcdDumpFdtShellCommand)) { //