X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FInclude%2FLibrary%2FLcdPlatformLib.h;h=3d13e417972c67cc51ae4410efd548053511e5d1;hp=1112e1edd10f8a76bf36c8154c502e31ac9438f4;hb=b1b69d2606e8995d08bf25e3ed286c20034bfba3;hpb=beeb44f42559ec9206e905811123a0a1665c4b36 diff --git a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h index 1112e1edd1..3d13e41797 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.
+ Copyright (c) 2011-2018, ARM Ltd. All rights reserved.
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 @@ -124,9 +124,9 @@ // #define HD_H_RES_PIXELS 1920 #define HD_V_RES_PIXELS 1080 -#define HD_OSC_FREQUENCY 173000000 /* 0x0A4FC540 */ +#define HD_OSC_FREQUENCY 165000000 /* 0x09D5B340 */ -#define HD_H_SYNC (200 - 1) +#define HD_H_SYNC ( 79 - 1) #define HD_H_FRONT_PORCH (128 - 1) #define HD_H_BACK_PORCH (328 - 1) @@ -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_ */