]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/HdLcd: add missing LcdIdentify()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 4 Sep 2015 10:02:43 +0000 (10:02 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Fri, 4 Sep 2015 10:02:43 +0000 (10:02 +0000)
Commit r18308 ("ArmPlatformPkg/LcdGraphicsOutputDxe: check PrimeCell ID
before initializing") introduced a LcdIdentify() function to the PL111
LCD driver that makes it fail gracefully when executed on hardware that
does not have the IP. However, the LcdGraphicsOutputDxe driver is shared
with the HdLcd driver, which now fails to build due to the fact that it
has no LcdIdentity() function. So add a dummy implementation that always
returns EFI_SUCCESS.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18395 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c

index 9186912dfc881ea80dcade792ae84bc20229fb93..2bfe2c0fe2dcd05f4983eea57542cfe3d30bf1ce 100644 (file)
@@ -123,3 +123,11 @@ LcdShutdown (
   // Disable the controller\r
   MmioWrite32 (HDLCD_REG_COMMAND, HDLCD_DISABLE);\r
 }\r
+\r
+EFI_STATUS\r
+LcdIdentify (\r
+  VOID\r
+  )\r
+{\r
+  return EFI_SUCCESS;\r
+}\r