audk/ArmPlatformPkg/Library/HdLcd
Girish Pathak 268aad6744 ArmPlatformPkg: PCD to swap red/blue format for HDLCD
This change adds a new PCD PcdArmHdlcdSwapBlueRedSelect
to swap values for HDLCD RED_SELECT and BLUE_SELECT registers
on platforms where blue and red hardware lines are swapped.

If set to TRUE in the platform dsc, HDLCD library will swap the values
while setting RED_SELECT and BLUE_SELECT registers. The default
value of the PCD is FALSE.

NOTE: The motive for this is that a discrepancy in the Red/Blue lines
exists between some VersatileExpress platforms.  Rather than have
divergent code, this build switch allows a simple, pragmatic solution.

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: Leif Lindholm <leif.lindholm@linaro.org>
2018-04-23 12:01:11 +01:00
..
HdLcd.c ArmPlatformPkg: PCD to swap red/blue format for HDLCD 2018-04-23 12:01:11 +01:00
HdLcd.h ArmPlatformPkg: Implement LcdIdentify function for HDLCD GOP 2018-04-23 12:00:52 +01:00
HdLcd.inf ArmPlatformPkg: PCD to swap red/blue format for HDLCD 2018-04-23 12:01:11 +01:00