DM: acpi: Update the reset value of FADT to trigger cold reboot

There are bootloaders require cold reboot as ACPI reboot
instead of warm reboot.

So we set 0xE to reset value of FADT to make ACPI reboot
cold reboot.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Yin Fengwei 2018-03-15 16:49:56 +08:00 committed by Jack Ren
parent 9e854eacc5
commit 66ddb67bdd
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ basl_fwrite_fadt(FILE *fp)
EFPRINTF(fp, "[0008]\t\tAddress : 0000000000000CF9\n"); EFPRINTF(fp, "[0008]\t\tAddress : 0000000000000CF9\n");
EFPRINTF(fp, "\n"); EFPRINTF(fp, "\n");
EFPRINTF(fp, "[0001]\t\tValue to cause reset : 06\n"); EFPRINTF(fp, "[0001]\t\tValue to cause reset : 0E\n");
EFPRINTF(fp, "[0002]\t\tARM Flags (decoded below): 0000\n"); EFPRINTF(fp, "[0002]\t\tARM Flags (decoded below): 0000\n");
EFPRINTF(fp, "\t\t\tPSCI Compliant : 0\n"); EFPRINTF(fp, "\t\t\tPSCI Compliant : 0\n");
EFPRINTF(fp, "\t\t\tMust use HVC for PSCI : 0\n"); EFPRINTF(fp, "\t\t\tMust use HVC for PSCI : 0\n");