On 16 March 2017 at 08:26, Bin Meng <bmeng...@gmail.com> wrote: > Before jumping to OS waking up vector, we need turn on ACPI mode > for S3, just like what we do for a normal boot. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > arch/x86/lib/acpi_s3.c | 3 +++ > 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org> > > diff --git a/arch/x86/lib/acpi_s3.c b/arch/x86/lib/acpi_s3.c > index e5cc3b0..0b62b75 100644 > --- a/arch/x86/lib/acpi_s3.c > +++ b/arch/x86/lib/acpi_s3.c > @@ -24,6 +24,9 @@ void acpi_resume(struct acpi_fadt *fadt) > { > void *wake_vec; > > + /* Turn on ACPI mode for S3 */ > + enter_acpi_mode(fadt->pm1a_cnt_blk); > + > wake_vec = acpi_find_wakeup_vector(fadt); > > post_code(POST_OS_RESUME); > -- > 2.9.2 > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot