diff options
author | Olivier Martin <olivier.martin@arm.com> | 2015-05-13 18:23:26 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-05-13 18:23:26 +0000 |
commit | 48cb53cf41b2567dfe5c6b8016058e53fe0df7db (patch) | |
tree | 7e8c436a1789dc644101bebe8192743bd01aab3e | |
parent | c37e542ba01bfe3cb3932cfdced86d4517e21950 (diff) | |
download | edk2-platforms-48cb53cf41b2567dfe5c6b8016058e53fe0df7db.tar.xz |
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 <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
-rw-r--r-- | EmbeddedPkg/Drivers/FdtPlatformDxe/FdtPlatform.c | 3 |
1 files changed, 0 insertions, 3 deletions
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)) {
//
|