summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/quark/acpi.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-07-03 02:48:39 -0700
committerBin Meng <bmeng.cn@gmail.com>2018-07-20 09:33:22 +0800
commit1ac10ab9d73ea8d39dc93fbf8f993267ec8f9041 (patch)
tree0805784c276bc653ecca419c656ebb8452ecc6bc /arch/x86/cpu/quark/acpi.c
parentf7e48c54b246c460503e90315d0cd50ccbd586c6 (diff)
x86: quark: acpi: Add full reset bit to the reset register value in FADT
This adds full reset bit in the reset register value in the ACPI FADT table, so that kernel can do a thorough reboot. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/quark/acpi.c')
-rw-r--r--arch/x86/cpu/quark/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/quark/acpi.c b/arch/x86/cpu/quark/acpi.c
index 4a0272085c5..7b6fc2f4a53 100644
--- a/arch/x86/cpu/quark/acpi.c
+++ b/arch/x86/cpu/quark/acpi.c
@@ -67,7 +67,7 @@ void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
fadt->reset_reg.access_size = ACPI_ACCESS_SIZE_BYTE_ACCESS;
fadt->reset_reg.addrl = IO_PORT_RESET;
fadt->reset_reg.addrh = 0;
- fadt->reset_value = SYS_RST | RST_CPU;
+ fadt->reset_value = SYS_RST | RST_CPU | FULL_RST;
fadt->x_firmware_ctl_l = (u32)facs;
fadt->x_firmware_ctl_h = 0;