]> git.sur5r.net Git - u-boot/commit
x86: apci: Change PM1_CNT register access to RMW
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:42 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commitb208d1915f1bdba93678b51b87ae214d9e2ca7a3
treef515afa2d71b7780f69c239dcae56f15595c1740
parentbffd798136deb4622059b5aeb33c375fad554ac7
x86: apci: Change PM1_CNT register access to RMW

In enter_acpi_mode() PM1_CNT register is changed to PM1_CNT_SCI_EN
directly without preserving its previous value. Update to change
the register access to read-modify-write (RMW).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Roese <sr@denx.de>
arch/x86/lib/acpi_table.c