]> git.baikalelectronics.ru Git - uboot.git/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)
commitd343a83925c1b664e9777ca45f27ba7eb28126a6
treef515afa2d71b7780f69c239dcae56f15595c1740
parentac1eb8e88a41d5f1b4dada12871a364bf3688efb
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