]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: acpi: Resume OS if resume vector is found
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:37 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commit3a34cae01160d207d50db267585b963cf0a0018d
treea6fcaae9a38548e2900bc8e98c0223ff16e20aa9
parente76bf38f180b0c9325b17506f1518329d82cbed8
x86: acpi: Resume OS if resume vector is found

In an S3 resume path, U-Boot does everything like a cold boot except
in the last_stage_init() it jumps to the OS resume vector.

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/cpu/cpu.c
arch/x86/include/asm/acpi_s3.h
arch/x86/lib/Makefile
arch/x86/lib/acpi_s3.c [new file with mode: 0644]