diff options
author | Girish Pathak <girish.pathak at arm.com> | 2017-09-26 21:15:11 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2018-04-23 11:42:13 +0100 |
commit | b1b69d2606e8995d08bf25e3ed286c20034bfba3 (patch) | |
tree | 8d9d6f636dc43ca278448b99287f42ebea924dff /ArmPlatformPkg/Include | |
parent | e10c79145ec2ab8cc60a4891c8702abda25d7b55 (diff) | |
download | edk2-b1b69d2606e8995d08bf25e3ed286c20034bfba3.zip edk2-b1b69d2606e8995d08bf25e3ed286c20034bfba3.tar.gz edk2-b1b69d2606e8995d08bf25e3ed286c20034bfba3.tar.bz2 |
ArmPlatformPkg: Tidy Lcd code: Coding standard
There is no functional modification in this change
As preparation for further work, the formatting is corrected to meet
the EDKII coding standard.
Of specific note, some invalid include guards were fixed.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPlatformPkg/Include')
-rw-r--r-- | ArmPlatformPkg/Include/Library/LcdPlatformLib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h index b9bdf47..3d13e41 100644 --- a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h +++ b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h @@ -1,6 +1,6 @@ /** @file
- Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>
+ Copyright (c) 2011-2018, 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
@@ -11,8 +11,8 @@ **/
-#ifndef __LCDPLATFORMLIB_H
-#define __LCDPLATFORMLIB_H
+#ifndef LCD_PLATFORM_LIB_H_
+#define LCD_PLATFORM_LIB_H_
#include <Protocol/GraphicsOutput.h>
@@ -158,8 +158,9 @@ #define LCD_12BPP_444_BLUE_MASK 0x0000000F
#define LCD_12BPP_444_RESERVED_MASK 0x0000F000
-
-// The enumeration indexes maps the PL111 LcdBpp values used in the LCD Control Register
+/** The enumeration indexes maps the PL111 LcdBpp values used in the LCD Control
+ Register
+**/
typedef enum {
LCD_BITS_PER_PIXEL_1 = 0,
LCD_BITS_PER_PIXEL_2,
@@ -171,7 +172,6 @@ typedef enum { LCD_BITS_PER_PIXEL_12_444
} LCD_BPP;
-
EFI_STATUS
LcdPlatformInitializeDisplay (
IN EFI_HANDLE Handle
@@ -218,4 +218,4 @@ LcdPlatformGetBpp ( OUT LCD_BPP* Bpp
);
-#endif
+#endif /* LCD_PLATFORM_LIB_H_ */
|