/** @file\r
\r
- Copyright (c) 2011, ARM Ltd. All rights reserved.<BR>\r
+ Copyright (c) 2011-2018, ARM Ltd. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
\r
**/\r
\r
-#ifndef __LCDPLATFORMLIB_H\r
-#define __LCDPLATFORMLIB_H\r
+#ifndef LCD_PLATFORM_LIB_H_\r
+#define LCD_PLATFORM_LIB_H_\r
\r
#include <Protocol/GraphicsOutput.h>\r
\r
//\r
#define HD_H_RES_PIXELS 1920\r
#define HD_V_RES_PIXELS 1080\r
-#define HD_OSC_FREQUENCY 173000000 /* 0x0A4FC540 */\r
+#define HD_OSC_FREQUENCY 165000000 /* 0x09D5B340 */\r
\r
-#define HD_H_SYNC (200 - 1)\r
+#define HD_H_SYNC ( 79 - 1)\r
#define HD_H_FRONT_PORCH (128 - 1)\r
#define HD_H_BACK_PORCH (328 - 1)\r
\r
#define LCD_12BPP_444_BLUE_MASK 0x0000000F\r
#define LCD_12BPP_444_RESERVED_MASK 0x0000F000\r
\r
-\r
-// The enumeration indexes maps the PL111 LcdBpp values used in the LCD Control Register\r
+/** The enumeration indexes maps the PL111 LcdBpp values used in the LCD Control\r
+ Register\r
+**/\r
typedef enum {\r
LCD_BITS_PER_PIXEL_1 = 0,\r
LCD_BITS_PER_PIXEL_2,\r
LCD_BITS_PER_PIXEL_12_444\r
} LCD_BPP;\r
\r
-\r
EFI_STATUS\r
LcdPlatformInitializeDisplay (\r
IN EFI_HANDLE Handle\r
OUT LCD_BPP* Bpp\r
);\r
\r
-#endif\r
+#endif /* LCD_PLATFORM_LIB_H_ */\r