]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg: Implement LcdIdentify function for HDLCD GOP
authorGirish Pathak <girish.pathak at arm.com>
Tue, 26 Sep 2017 20:15:21 +0000 (21:15 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 23 Apr 2018 11:00:52 +0000 (12:00 +0100)
commitc18ef81e79c2beccc5738e564fb56f1b78d2d5fc
tree12733b7dda6ab371cd4402ebd058b75467c1fec7
parentb5daabdcd8a88db615a5d1dfb7b35b61b1ede0c5
ArmPlatformPkg: Implement LcdIdentify function for HDLCD GOP

LcdIdentify function does not currently check presence of HDLCD
controller.

Implement this functionality by reading HDLCD_REG_VERSION and checking
against the PRODUCT_ID field to detect presence of HDLCD controller.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/Library/HdLcd/HdLcd.c
ArmPlatformPkg/Library/HdLcd/HdLcd.h