/** @file\r
+ This file contains the platform independent parts of HdLcd\r
\r
Copyright (c) 2011-2018, ARM Ltd. All rights reserved.<BR>\r
\r
\r
#include "HdLcd.h"\r
\r
-/** This file contains all the bits of the Lcd that are\r
- platform independent.\r
-**/\r
-\r
STATIC\r
UINTN\r
GetBytesPerPixel (\r
}\r
}\r
\r
+/** Initialize display.\r
+\r
+ @param[in] VramBaseAddress Address of the framebuffer.\r
+\r
+ @retval EFI_SUCCESS Display initialization successful.\r
+**/\r
EFI_STATUS\r
LcdInitialize (\r
IN EFI_PHYSICAL_ADDRESS VramBaseAddress\r
return EFI_SUCCESS;\r
}\r
\r
+/** Set requested mode of the display.\r
+\r
+ @param[in] ModeNumber Display mode number.\r
+\r
+ @retval EFI_SUCCESS Display mode set successfully.\r
+ @retval EFI_DEVICE_ERROR Reurns an error if display timing\r
+ information is not available.\r
+**/\r
EFI_STATUS\r
LcdSetMode (\r
IN UINT32 ModeNumber\r
return EFI_SUCCESS;\r
}\r
\r
+/** De-initializes the display.\r
+**/\r
VOID\r
LcdShutdown (\r
VOID\r
MmioWrite32 (HDLCD_REG_COMMAND, HDLCD_DISABLE);\r
}\r
\r
+/** Check for presence of HDLCD.\r
+\r
+ @retval EFI_SUCCESS Returns success if platform implements a HDLCD\r
+ controller.\r
+**/\r
EFI_STATUS\r
LcdIdentify (\r
VOID\r