From 5fe98716209f14bfcb6007c61cabd10639177545 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Fri, 4 Sep 2015 10:02:43 +0000 Subject: [PATCH] ArmPlatformPkg/HdLcd: add missing LcdIdentify() 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 Reviewed-by: Leif Lindholm git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18395 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c index 9186912dfc..2bfe2c0fe2 100644 --- a/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c +++ b/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/HdLcd.c @@ -123,3 +123,11 @@ LcdShutdown ( // Disable the controller MmioWrite32 (HDLCD_REG_COMMAND, HDLCD_DISABLE); } + +EFI_STATUS +LcdIdentify ( + VOID + ) +{ + return EFI_SUCCESS; +} -- 2.39.2