diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-28 17:11:42 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-28 17:11:42 +0000 |
commit | 0db25ccc6cf1d05dc6b8fd9b07d033b40c387c88 (patch) | |
tree | 7de1e25749da6fb96d06c7a32a919c2b37e6a830 /ArmPlatformPkg/Bds | |
parent | 986223907fa5e3a2866bbf60bd4a3bd5e2d24172 (diff) | |
download | edk2-platforms-0db25ccc6cf1d05dc6b8fd9b07d033b40c387c88.tar.xz |
ArmPlatformPkg: Minor code changes (comments, misspellings, coding stylei, line endings)
- Fixed misspellings
- Updated Copyright
- Remove unused sections in INF file
- Fixed incorrect commentsi
- Fixed coding style
- Fixed line endings (CRLR)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13052 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Bds')
-rw-r--r-- | ArmPlatformPkg/Bds/Bds.inf | 4 | ||||
-rw-r--r-- | ArmPlatformPkg/Bds/BdsHelper.c | 3 | ||||
-rw-r--r-- | ArmPlatformPkg/Bds/BootOptionSupport.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/ArmPlatformPkg/Bds/Bds.inf b/ArmPlatformPkg/Bds/Bds.inf index 0bcb72ed54..6e9516e403 100644 --- a/ArmPlatformPkg/Bds/Bds.inf +++ b/ArmPlatformPkg/Bds/Bds.inf @@ -1,8 +1,8 @@ #/** @file # -# Component discription file for NorFlashDxe module +# Component description file for Bds module # -# Copyright (c) 2011, ARM Ltd. All rights reserved.<BR> +# Copyright (c) 2011-2012, ARM Ltd. All rights reserved.<BR> # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at diff --git a/ArmPlatformPkg/Bds/BdsHelper.c b/ArmPlatformPkg/Bds/BdsHelper.c index d306eea39b..28d02c6620 100644 --- a/ArmPlatformPkg/Bds/BdsHelper.c +++ b/ArmPlatformPkg/Bds/BdsHelper.c @@ -1,6 +1,6 @@ /** @file * -* Copyright (c) 2011, ARM Limited. All rights reserved. +* Copyright (c) 2011-2012, ARM Limited. All rights reserved. * * This program and the accompanying materials * are licensed and made available under the terms and conditions of the BSD License @@ -93,7 +93,6 @@ EditHIInputAscii ( AsciiStrToUnicodeStr (CmdLine, Str); Status = EditHIInputStr (Str, MaxCmdLine); - if (!EFI_ERROR(Status)) { UnicodeStrToAsciiStr (Str, CmdLine); } diff --git a/ArmPlatformPkg/Bds/BootOptionSupport.c b/ArmPlatformPkg/Bds/BootOptionSupport.c index f16de7c82d..e22280dc81 100644 --- a/ArmPlatformPkg/Bds/BootOptionSupport.c +++ b/ArmPlatformPkg/Bds/BootOptionSupport.c @@ -390,7 +390,7 @@ BdsLoadOptionFileSystemUpdateDevicePath ( FILEPATH_DEVICE_PATH* FilePathDevicePath;
EFI_DEVICE_PATH* DevicePath;
- DevicePath = DuplicateDevicePath(OldDevicePath);
+ DevicePath = DuplicateDevicePath (OldDevicePath);
EndingDevicePath = (FILEPATH_DEVICE_PATH*)GetLastDevicePathNode (DevicePath);
|