]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Store and display previous sleep state
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:32 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commitf41f75ca4edd5e3de5cac7b58c1fcc76c17e2208
tree58950cda536d31379e6cb28486617ea71d18914e
parent11c6ee8fa79cae34772b9caad829cf9900f9616f
x86: Store and display previous sleep state

Add one member in the global data to store previous sleep state,
and display the state during boot in print_cpuinfo().

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/include/asm/global_data.h
arch/x86/lib/fsp/fsp_common.c