mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/Bds: Retrieve the Status when calling RT.SetVariable
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16588 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6e8b37f1f6
commit
f2c730d312
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.
|
* Copyright (c) 2011 - 2015, ARM Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program and the accompanying materials
|
* This program and the accompanying materials
|
||||||
* are licensed and made available under the terms and conditions of the BSD License
|
* are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -863,7 +863,7 @@ UpdateFdtPath (
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR(Status);
|
ASSERT_EFI_ERROR(Status);
|
||||||
} else {
|
} else {
|
||||||
gRT->SetVariable (
|
Status = gRT->SetVariable (
|
||||||
(CHAR16*)L"Fdt",
|
(CHAR16*)L"Fdt",
|
||||||
&gArmGlobalVariableGuid,
|
&gArmGlobalVariableGuid,
|
||||||
EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,
|
EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,
|
||||||
|
|
Loading…
Reference in New Issue