summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-08-01 18:33:17 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-01 18:33:17 +0000
commitc3b6d97563982940a2af26671c371998684a2fd9 (patch)
tree0668a3ac5f1110a8a8ca3d7d74aa46299c2a7302 /BeagleBoardPkg
parentd8162fb5aad91c4b6745acd6b706a95b5c7522ee (diff)
downloadedk2-platforms-c3b6d97563982940a2af26671c371998684a2fd9.tar.xz
ArmPlatformPkg: Removed the global ImageHandle when UefiBootServicesTableLib is included
UefiBootServicesTableLib already defines gImageHandle that has been initialized with the value of ImageHandle. 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@15737 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BeagleBoardPkg')
-rw-r--r--BeagleBoardPkg/Bds/BdsEntry.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/BeagleBoardPkg/Bds/BdsEntry.c b/BeagleBoardPkg/Bds/BdsEntry.c
index 8de4e7a209..f65c9eb8b9 100644
--- a/BeagleBoardPkg/Bds/BdsEntry.c
+++ b/BeagleBoardPkg/Bds/BdsEntry.c
@@ -23,8 +23,6 @@
BOOLEAN gConsolePresent = FALSE;
-
-EFI_HANDLE mBdsImageHandle = NULL;
EFI_BDS_ARCH_PROTOCOL gBdsProtocol = {
BdsEntry,
};
@@ -228,13 +226,11 @@ BdsInitialize (
{
EFI_STATUS Status;
- mBdsImageHandle = ImageHandle;
-
//
// Install protocol interface
//
Status = gBS->InstallMultipleProtocolInterfaces (
- &mBdsImageHandle,
+ &ImageHandle,
&gEfiBdsArchProtocolGuid, &gBdsProtocol,
NULL
);