]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPlatformPkg: PL111Lcd: Combine two writes to LCDControl
authorGirish Pathak <girish.pathak@arm.com>
Wed, 14 Feb 2018 11:52:46 +0000 (11:52 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 23 Apr 2018 11:00:46 +0000 (12:00 +0100)
commitb5daabdcd8a88db615a5d1dfb7b35b61b1ede0c5
treea1c9173036f69a46299f829897e933c66c0b15e4
parentd1ee57e581d75852b5ba0bbdaf28a83c6b9230fd
ArmPlatformPkg: PL111Lcd: Combine two writes to LCDControl

Currenty bit LcdPwr of the LCDControl register is enabled immediately
after setting other bits of the LCDControl register. This two write
sequence is unnecessary. This change removes this extra write by setting
LcdPwr bit along with other bits of the LcdControl register.

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>
ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.c