summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2013-05-08 17:43:06 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2013-05-08 17:43:06 +0100
commit5a2de1f6700d283601befe071309717ab2e3e61e (patch)
tree449f154d13adf5c3807fdd8acf0f6c5ad90e07ad /ArmPlatformPkg
parente62d41574a885f84a4692c2555bc486e2370dae1 (diff)
parentbb00c7f4a77988607bb26124d9dfc2342c6ec49a (diff)
Merging linaro-topic-misc into linaro-tracking-2013.05
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/Bds/BdsHelper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Bds/BdsHelper.c b/ArmPlatformPkg/Bds/BdsHelper.c
index 459ebc39f..cd7c8a583 100644
--- a/ArmPlatformPkg/Bds/BdsHelper.c
+++ b/ArmPlatformPkg/Bds/BdsHelper.c
@@ -198,6 +198,9 @@ HasFilePathEfiExtension (
IN CHAR16* FilePath
)
{
+ if (StrCmp (FilePath + (StrSize(FilePath)/sizeof(CHAR16)) - 5, L".EFI") == 0)
+ return 1;
+
return (StrCmp (FilePath + (StrSize(FilePath)/sizeof(CHAR16)) - 5, L".efi") == 0);
}