]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg/FdtPlatformDxe: Do not exit if RunFdtInstallation() fails
authorOlivier Martin <olivier.martin@arm.com>
Wed, 13 May 2015 18:23:26 +0000 (18:23 +0000)
committeroliviermartin <oliviermartin@Edk2>
Wed, 13 May 2015 18:23:26 +0000 (18:23 +0000)
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 <olivier.martin@arm.com>
Reviewed-by: Ronald Cron <Ronald.Cron@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17441 6f19259b-4bc3-4df7-8a09-765794883524

EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c

index fb2ae6071a0dcd5de83a34ce467296789866be34..b4be2a078991f0deccf1aa94f1b98ca6c00aa95f 100644 (file)
@@ -170,9 +170,6 @@ FdtPlatformEntryPoint (
   // Install the Device Tree from its expected location\r
   //\r
   Status = RunFdtInstallation (NULL);\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
 \r
   if (FeaturePcdGet (PcdOverridePlatformFdt) || FeaturePcdGet (PcdDumpFdtShellCommand)) {\r
     //\r