From 48cb53cf41b2567dfe5c6b8016058e53fe0df7db Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Wed, 13 May 2015 18:23:26 +0000 Subject: 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 --- EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'EmbeddedPkg/Drivers') 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)) { // -- cgit v1.2.3